1
Fork 0
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:
Terts Diepraam 2023-01-01 15:33:02 +01:00
parent 267a22e12c
commit 44ea43f058
8 changed files with 67 additions and 106 deletions

View file

@ -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]