mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Use the new function 'fails_with_code' v2
This commit is contained in:
parent
0936cee9d5
commit
3e1adf40ee
7 changed files with 79 additions and 121 deletions
|
@ -1412,9 +1412,8 @@ fn repeat_everything() {
|
|||
"9",
|
||||
"{5}",
|
||||
])
|
||||
.fails()
|
||||
.fails_with_code(1)
|
||||
.no_stdout()
|
||||
.code_is(1)
|
||||
.stderr_only("csplit: '9': line number out of range on repetition 5\n");
|
||||
let count = glob(&at.plus_as_string("xx*"))
|
||||
.expect("there should be some splits created")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue