From 0507270f90d32698d5bfd86bcf2e109c6c6c0e1a Mon Sep 17 00:00:00 2001 From: Pat Laster Date: Mon, 10 Oct 2022 13:52:05 -0500 Subject: [PATCH] Clippy is going to be the death of me --- tests/by-util/test_rm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_rm.rs b/tests/by-util/test_rm.rs index dcf85f4d1..98273fedd 100644 --- a/tests/by-util/test_rm.rs +++ b/tests/by-util/test_rm.rs @@ -530,7 +530,7 @@ fn test_rm_force_prompts_order() { let output = child.wait_with_output().unwrap(); let string_output = String::from_utf8(output.stderr).expect("Couldn't convert output.stderr to string"); - assert!(string_output.trim() == String::from("rm: remove regular empty file 'empty'?")); + assert!(string_output.trim() == "rm: remove regular empty file 'empty'?"); assert!(!at.file_exists(empty_file)); at.touch(empty_file);