mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
tests: change error messages for wrong arguments
Clap used `"` for argument values, now uses `'`.
This commit is contained in:
parent
39edd16c9f
commit
277e3d17a1
2 changed files with 3 additions and 3 deletions
|
@ -1395,7 +1395,7 @@ fn test_cp_reflink_bad() {
|
|||
.arg(TEST_HELLO_WORLD_SOURCE)
|
||||
.arg(TEST_EXISTING_FILE)
|
||||
.fails()
|
||||
.stderr_contains("error: \"bad\" isn't a valid value for '--reflink[=<WHEN>]'");
|
||||
.stderr_contains("error: 'bad' isn't a valid value for '--reflink[=<WHEN>]'");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -92,14 +92,14 @@ fn test_mknod_character_device_requires_major_and_minor() {
|
|||
.arg("1")
|
||||
.arg("c")
|
||||
.fails()
|
||||
.stderr_contains("Invalid value \"c\"");
|
||||
.stderr_contains("Invalid value 'c'");
|
||||
new_ucmd!()
|
||||
.arg("test_file")
|
||||
.arg("c")
|
||||
.arg("c")
|
||||
.arg("1")
|
||||
.fails()
|
||||
.stderr_contains("Invalid value \"c\"");
|
||||
.stderr_contains("Invalid value 'c'");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue