mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27: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
|
@ -13,7 +13,7 @@ fn test_invalid_arg() {
|
|||
fn test_subcommand_return_code() {
|
||||
new_ucmd!().arg("1").arg("true").succeeds();
|
||||
|
||||
new_ucmd!().arg("1").arg("false").run().status_code(1);
|
||||
new_ucmd!().arg("1").arg("false").run().code_is(1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue