mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
test: Assert that the result is correct in run-pass/crust-stress
This commit is contained in:
@@ -22,7 +22,7 @@ fn count(n: uint) -> uint {
|
||||
fn main() {
|
||||
iter::repeat(100u) {||
|
||||
task::spawn {||
|
||||
count(5u);
|
||||
assert count(5u) == 16u;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user