about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-15 12:45:04 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-15 12:45:04 -0800
commit93b66ee587315f653f244ecdf80dc0c0f7e93530 (patch)
tree88509d7a5775c68b069a24e36d08dc84652acb30 /src
parent0438e6e924f09453dceff010bb4264568afa35a0 (diff)
downloadrust-93b66ee587315f653f244ecdf80dc0c0f7e93530.tar.gz
rust-93b66ee587315f653f244ecdf80dc0c0f7e93530.zip
test: Assert that the result is correct in run-pass/crust-stress
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/crust-stress.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/crust-stress.rs b/src/test/run-pass/crust-stress.rs
index 73dac3f48c4..31b173a47ae 100644
--- a/src/test/run-pass/crust-stress.rs
+++ b/src/test/run-pass/crust-stress.rs
@@ -22,7 +22,7 @@ fn count(n: uint) -> uint {
 fn main() {
     iter::repeat(100u) {||
         task::spawn {||
-            count(5u);
+            assert count(5u) == 16u;
         };
     }
 }
\ No newline at end of file