about summary refs log tree commit diff
path: root/src/test/run-pass/class-trait-bounded-param.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/class-trait-bounded-param.rs')
-rw-r--r--src/test/run-pass/class-trait-bounded-param.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/class-trait-bounded-param.rs b/src/test/run-pass/class-trait-bounded-param.rs
index 5e39b18db73..294c7264c73 100644
--- a/src/test/run-pass/class-trait-bounded-param.rs
+++ b/src/test/run-pass/class-trait-bounded-param.rs
@@ -31,5 +31,5 @@ pub fn main() {
     let m = int_hash();
     m.insert(1, 2);
     m.insert(3, 4);
-    assert iter::to_vec(keys(m)) == ~[1, 3];
+    fail_unless!(iter::to_vec(keys(m)) == ~[1, 3]);
 }