aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/generic-temporary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/generic-temporary.rs')
-rw-r--r--src/test/run-pass/generic-temporary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/generic-temporary.rs b/src/test/run-pass/generic-temporary.rs
index 98401ecc..2f697124 100644
--- a/src/test/run-pass/generic-temporary.rs
+++ b/src/test/run-pass/generic-temporary.rs
@@ -5,7 +5,7 @@ fn mk() -> int {
fn chk(&int a) {
log a;
- check (a == 1);
+ assert (a == 1);
}
fn apply[T](fn() -> T produce, fn(&T) consume) {