diff options
Diffstat (limited to 'src/test/run-pass/while-loop-constraints-2.rs')
| -rw-r--r-- | src/test/run-pass/while-loop-constraints-2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/while-loop-constraints-2.rs b/src/test/run-pass/while-loop-constraints-2.rs index df5f5904793..39d3e2d9747 100644 --- a/src/test/run-pass/while-loop-constraints-2.rs +++ b/src/test/run-pass/while-loop-constraints-2.rs @@ -18,5 +18,5 @@ pub fn main() { while false { x = y; y = z; } log(debug, y); } - assert (y == 42 && z == 50); + fail_unless!((y == 42 && z == 50)); } |
