1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

wc: fix FilesDisabled error message

This commit is contained in:
zhitkoff 2023-11-25 18:16:34 -05:00
parent 84b5e6f0a1
commit f8f6346126
2 changed files with 10 additions and 5 deletions

View file

@ -423,7 +423,8 @@ fn test_files_from_pseudo_filesystem() {
#[test]
fn test_files0_disabled_files_argument() {
const MSG: &str = "file operands cannot be combined with --files0-from";
const MSG: &str =
"extra operand 'lorem_ipsum.txt'\nfile operands cannot be combined with --files0-from";
new_ucmd!()
.args(&["--files0-from=files0_list.txt"])
.arg("lorem_ipsum.txt")