test: Assert that the result is correct in run-pass/crust-stress

This commit is contained in:
Brian Anderson 2012-02-15 12:45:04 -08:00
parent 0438e6e924
commit 93b66ee587

View file

@ -22,7 +22,7 @@ fn count(n: uint) -> uint {
fn main() { fn main() {
iter::repeat(100u) {|| iter::repeat(100u) {||
task::spawn {|| task::spawn {||
count(5u); assert count(5u) == 16u;
}; };
} }
} }