mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests: remove status_code, which is the same as code_is
This commit is contained in:
parent
267a22e12c
commit
44ea43f058
8 changed files with 67 additions and 106 deletions
|
@ -2277,7 +2277,7 @@ fn test_copy_dir_preserve_permissions_inaccessible_file() {
|
|||
// V V V V
|
||||
ucmd.args(&["-p", "-R", "d1", "d2"])
|
||||
.fails()
|
||||
.status_code(1)
|
||||
.code_is(1)
|
||||
.stderr_only("cp: cannot open 'd1/f' for reading: Permission denied");
|
||||
assert!(at.dir_exists("d2"));
|
||||
assert!(!at.file_exists("d2/f"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue