about summary refs log tree commit diff
path: root/src/test/run-pass/mod_file_with_path_attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/mod_file_with_path_attr.rs')
-rw-r--r--src/test/run-pass/mod_file_with_path_attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/mod_file_with_path_attr.rs b/src/test/run-pass/mod_file_with_path_attr.rs
index 463132919c7..0130d62867d 100644
--- a/src/test/run-pass/mod_file_with_path_attr.rs
+++ b/src/test/run-pass/mod_file_with_path_attr.rs
@@ -16,5 +16,5 @@
 mod m;
 
 pub fn main() {
-    assert m::foo() == 10;
+    fail_unless!(m::foo() == 10);
 }