about summary refs log tree commit diff
path: root/library/coretests/tests/bool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/coretests/tests/bool.rs')
-rw-r--r--library/coretests/tests/bool.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/coretests/tests/bool.rs b/library/coretests/tests/bool.rs
index 47f6459915b..bcd6dc2abac 100644
--- a/library/coretests/tests/bool.rs
+++ b/library/coretests/tests/bool.rs
@@ -71,14 +71,14 @@ fn test_bool() {
 #[test]
 pub fn test_bool_not() {
     if !false {
-        assert!((true));
+        assert!(true);
     } else {
-        assert!((false));
+        assert!(false);
     }
     if !true {
-        assert!((false));
+        assert!(false);
     } else {
-        assert!((true));
+        assert!(true);
     }
 }