test: Assert that the result is correct in run-pass/crust-stress
This commit is contained in:
parent
0438e6e924
commit
93b66ee587
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue