mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Rustfmt new tests
This commit is contained in:
parent
e5b577fb27
commit
1d271991af
7 changed files with 31 additions and 29 deletions
|
@ -23,7 +23,7 @@ fn test_unlink_multiple_files() {
|
|||
|
||||
ucmd.arg(file_a).arg(file_b).fails().stderr_is(
|
||||
"unlink: error: extra operand: 'test_unlink_multiple_file_b'\nTry 'unlink --help' \
|
||||
for more information.\n",
|
||||
for more information.\n",
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ fn test_unlink_directory() {
|
|||
|
||||
ucmd.arg(dir).fails().stderr_is(
|
||||
"unlink: error: cannot unlink 'test_unlink_empty_directory': Not a regular file \
|
||||
or symlink\n",
|
||||
or symlink\n",
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -46,6 +46,6 @@ fn test_unlink_nonexistent() {
|
|||
|
||||
new_ucmd!().arg(file).fails().stderr_is(
|
||||
"unlink: error: Cannot stat 'test_unlink_nonexistent': No such file or directory \
|
||||
(os error 2)\n",
|
||||
(os error 2)\n",
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue