mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 19:56:17 +00:00
fix clippy errors related to clap upgrade from 3.0.10 to 3.1.6
This commit is contained in:
parent
59440d35c0
commit
20212be4c8
107 changed files with 532 additions and 529 deletions
|
@ -45,7 +45,7 @@ fn test_link_one_argument() {
|
|||
let (_, mut ucmd) = at_and_ucmd!();
|
||||
let file = "test_link_argument";
|
||||
ucmd.args(&[file]).fails().stderr_contains(
|
||||
"error: The argument '<FILES>...' requires at least 2 values, but only 1 was provide",
|
||||
"error: The argument '<FILES>...' requires at least 2 values but only 1 was provided",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -86,14 +86,14 @@ fn test_mknod_character_device_requires_major_and_minor() {
|
|||
.arg("1")
|
||||
.arg("c")
|
||||
.fails()
|
||||
.stderr_contains(&"Invalid value for '<MINOR>'");
|
||||
.stderr_contains(&"Invalid value \"c\" for '<MINOR>'");
|
||||
new_ucmd!()
|
||||
.arg("test_file")
|
||||
.arg("c")
|
||||
.arg("c")
|
||||
.arg("1")
|
||||
.fails()
|
||||
.stderr_contains(&"Invalid value for '<MAJOR>'");
|
||||
.stderr_contains(&"Invalid value \"c\" for '<MAJOR>'");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue