about summary refs log tree commit diff
path: root/src/test/run-pass/str-concat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/str-concat.rs')
-rw-r--r--src/test/run-pass/str-concat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/str-concat.rs b/src/test/run-pass/str-concat.rs
index 6901adaec70..10bec14c285 100644
--- a/src/test/run-pass/str-concat.rs
+++ b/src/test/run-pass/str-concat.rs
@@ -17,5 +17,5 @@ pub fn main() {
     let b: ~str = ~"world";
     let s: ~str = a + b;
     log(debug, copy s);
-    assert (s[9] == 'd' as u8);
+    fail_unless!((s[9] == 'd' as u8));
 }