1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Clippy is going to be the death of me

This commit is contained in:
Pat Laster 2022-10-10 13:52:05 -05:00
parent 70bf4f36a0
commit 0507270f90

View file

@ -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);