mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Ran cargo fmt
This commit is contained in:
parent
b91fadd8f4
commit
93b03bf9a6
2 changed files with 6 additions and 5 deletions
|
@ -62,14 +62,16 @@ fn test_invalid_file() {
|
|||
let folder_name = "asdf";
|
||||
|
||||
// First check when file doesn't exist
|
||||
ts.ucmd().arg(folder_name)
|
||||
ts.ucmd()
|
||||
.arg(folder_name)
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.stderr_contains("cksum: error: 'asdf' No such file or directory");
|
||||
|
||||
|
||||
// Then check when the file is of an invalid type
|
||||
at.mkdir(folder_name);
|
||||
ts.ucmd().arg(folder_name)
|
||||
ts.ucmd()
|
||||
.arg(folder_name)
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.stderr_contains("cksum: error: 'asdf' Is a directory");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue