diff --git a/tests/by-util/test_split.rs b/tests/by-util/test_split.rs index f3317d4c7..0b7bbfec6 100644 --- a/tests/by-util/test_split.rs +++ b/tests/by-util/test_split.rs @@ -871,7 +871,7 @@ fn test_short_combination() { assert_eq!(at.read("x00"), "a"); assert_eq!(at.read("x01"), "b"); assert_eq!(at.read("x02"), "c"); - assert_eq!(at.file_exists("x03"), false); + assert!(!at.file_exists("x03")); } /// Test for the last effective suffix, ignoring all others - numeric long last