style: fix clippy

This commit is contained in:
andy.boot
2025-10-06 20:18:12 +01:00
parent 968377eebd
commit 67d23e80ff
3 changed files with 57 additions and 55 deletions
+8 -2
View File
@@ -106,14 +106,20 @@ pub fn test_ignore_all_in_file() {
#[test]
pub fn test_files_from_flag_file() {
let output = build_command(vec!["--files-from", "tests/test_dir_files_from/files_from.txt"]);
let output = build_command(vec![
"--files-from",
"tests/test_dir_files_from/files_from.txt",
]);
assert!(output.contains("a_file"));
assert!(output.contains("hello_file"));
}
#[test]
pub fn test_files0_from_flag_file() {
let output = build_command(vec!["--files0-from", "tests/test_dir_files_from/files0_from.txt"]);
let output = build_command(vec![
"--files0-from",
"tests/test_dir_files_from/files0_from.txt",
]);
assert!(output.contains("a_file"));
assert!(output.contains("hello_file"));
}