about summary refs log tree commit diff
path: root/library/std/tests/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/tests/env.rs')
-rw-r--r--library/std/tests/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/env.rs b/library/std/tests/env.rs
index e754cf8263b..b53fd69b707 100644
--- a/library/std/tests/env.rs
+++ b/library/std/tests/env.rs
@@ -16,7 +16,7 @@ fn test_self_exe_path() {
 
 #[test]
 fn test() {
-    assert!((!Path::new("test-path").is_absolute()));
+    assert!(!Path::new("test-path").is_absolute());
 
     #[cfg(not(target_env = "sgx"))]
     current_dir().unwrap();