From 8920ac0123ceaec5a301e0e171d425b4bcbecd6f Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 4 Sep 2023 07:26:23 +0200 Subject: [PATCH] split: fix clippy warning in test --- tests/by-util/test_split.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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