mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
shuf: clap 3
This commit is contained in:
parent
92e94de2d7
commit
793e540323
3 changed files with 22 additions and 24 deletions
|
@ -154,9 +154,7 @@ fn test_shuf_echo_and_input_range_not_allowed() {
|
|||
new_ucmd!()
|
||||
.args(&["-e", "0", "-i", "0-2"])
|
||||
.fails()
|
||||
.stderr_contains(
|
||||
"The argument '--input-range <LO-HI>' cannot be used with '--echo <ARG>...'",
|
||||
);
|
||||
.stderr_contains("cannot be used with");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -164,7 +162,7 @@ fn test_shuf_input_range_and_file_not_allowed() {
|
|||
new_ucmd!()
|
||||
.args(&["-i", "0-9", "file"])
|
||||
.fails()
|
||||
.stderr_contains("The argument '<file>' cannot be used with '--input-range <LO-HI>'");
|
||||
.stderr_contains("cannot be used with");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue