aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/lazychan.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/lazychan.rs')
-rw-r--r--src/test/run-pass/lazychan.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/lazychan.rs b/src/test/run-pass/lazychan.rs
index 6face271..a91adaa1 100644
--- a/src/test/run-pass/lazychan.rs
+++ b/src/test/run-pass/lazychan.rs
@@ -10,13 +10,13 @@ fn main() {
y <- p;
log "received 1";
log y;
- check (y == 10);
+ assert (y == 10);
spawn child(c);
y <- p;
log "received 2";
log y;
- check (y == 10);
+ assert (y == 10);
}
fn child(chan[int] c) {