mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 19:36:16 +00:00
Merge pull request #3951 from jfinkels/mktemp-too-many-templates
mktemp: match GNU error message on too many args
This commit is contained in:
commit
68ad9e4301
2 changed files with 15 additions and 3 deletions
|
@ -613,7 +613,11 @@ fn test_too_few_xs_suffix_directory() {
|
|||
|
||||
#[test]
|
||||
fn test_too_many_arguments() {
|
||||
new_ucmd!().args(&["-q", "a", "b"]).fails().code_is(1);
|
||||
new_ucmd!()
|
||||
.args(&["-q", "a", "b"])
|
||||
.fails()
|
||||
.code_is(1)
|
||||
.usage_error("too many templates");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue