about summary refs log tree commit diff
path: root/src/test/run-pass/expr-match-unique.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-match-unique.rs')
-rw-r--r--src/test/run-pass/expr-match-unique.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-match-unique.rs b/src/test/run-pass/expr-match-unique.rs
index cdd4e45877a..7f610d1babd 100644
--- a/src/test/run-pass/expr-match-unique.rs
+++ b/src/test/run-pass/expr-match-unique.rs
@@ -15,7 +15,7 @@
 
 // Tests for match as expressions resulting in boxed types
 fn test_box() {
-    let res = match true { true => { ~100 }, _ => fail!() };
+    let res = match true { true => { ~100 }, _ => fail2!() };
     assert_eq!(*res, 100);
 }