mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests: delete 'error:' prefix from the tests
This commit is contained in:
parent
898d2eb489
commit
071899d24d
30 changed files with 114 additions and 119 deletions
|
@ -167,7 +167,7 @@ fn test_ls_width() {
|
|||
.ucmd()
|
||||
.args(&option.split(" ").collect::<Vec<_>>())
|
||||
.fails()
|
||||
.stderr_only("ls: error: invalid line width: ‘1a’");
|
||||
.stderr_only("ls: invalid line width: ‘1a’");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -875,7 +875,7 @@ fn test_ls_files_dirs() {
|
|||
.ucmd()
|
||||
.arg("doesntexist")
|
||||
.fails()
|
||||
.stderr_contains(&"error: 'doesntexist': No such file or directory");
|
||||
.stderr_contains(&"'doesntexist': No such file or directory");
|
||||
|
||||
// One exists, the other doesn't
|
||||
scene
|
||||
|
@ -883,7 +883,7 @@ fn test_ls_files_dirs() {
|
|||
.arg("a")
|
||||
.arg("doesntexist")
|
||||
.fails()
|
||||
.stderr_contains(&"error: 'doesntexist': No such file or directory")
|
||||
.stderr_contains(&"'doesntexist': No such file or directory")
|
||||
.stdout_contains(&"a:");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue