about summary refs log tree commit diff
path: root/tests/ui/for-loop-while/while-loop-constraints-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/for-loop-while/while-loop-constraints-2.rs')
-rw-r--r--tests/ui/for-loop-while/while-loop-constraints-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/for-loop-while/while-loop-constraints-2.rs b/tests/ui/for-loop-while/while-loop-constraints-2.rs
index 654f6769902..1d2d9c2ecfe 100644
--- a/tests/ui/for-loop-while/while-loop-constraints-2.rs
+++ b/tests/ui/for-loop-while/while-loop-constraints-2.rs
@@ -11,5 +11,5 @@ pub fn main() {
         while false { x = y; y = z; }
         println!("{}", y);
     }
-    assert!((y == 42 && z == 50));
+    assert!(y == 42 && z == 50);
 }