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
|
@ -77,14 +77,14 @@ fn test_mknod_character_device_requires_major_and_minor() {
|
|||
.arg("test_file")
|
||||
.arg("c")
|
||||
.fails()
|
||||
.status_code(1)
|
||||
.code_is(1)
|
||||
.stderr_contains("Special files require major and minor device numbers.");
|
||||
new_ucmd!()
|
||||
.arg("test_file")
|
||||
.arg("c")
|
||||
.arg("1")
|
||||
.fails()
|
||||
.status_code(1)
|
||||
.code_is(1)
|
||||
.stderr_contains("Special files require major and minor device numbers.");
|
||||
new_ucmd!()
|
||||
.arg("test_file")
|
||||
|
@ -122,6 +122,6 @@ fn test_mknod_invalid_mode() {
|
|||
.arg("p")
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.status_code(1)
|
||||
.code_is(1)
|
||||
.stderr_contains("invalid mode");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue