aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/expr-alt-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-alt-struct.rs')
-rw-r--r--src/test/run-pass/expr-alt-struct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/expr-alt-struct.rs b/src/test/run-pass/expr-alt-struct.rs
index 31406969..762303d5 100644
--- a/src/test/run-pass/expr-alt-struct.rs
+++ b/src/test/run-pass/expr-alt-struct.rs
@@ -9,7 +9,7 @@ fn test_rec() {
rec(i = 100)
}
};
- check (res == rec(i = 100));
+ assert (res == rec(i = 100));
}
fn test_tag() {
@@ -26,7 +26,7 @@ fn test_tag() {
sad
}
};
- check (res == happy);
+ assert (res == happy);
}
fn main() {