Skip to content

Commit cef9a2b

Browse files
authored
Merge pull request #7106 from cakebaker/csplit_simplify_test
csplit: simplify test
2 parents 50571c7 + 6096767 commit cef9a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/by-util/test_csplit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,8 +1376,8 @@ fn zero_error() {
13761376

13771377
#[test]
13781378
fn no_such_file() {
1379-
let (_, mut ucmd) = at_and_ucmd!();
1380-
ucmd.args(&["in", "0"])
1379+
new_ucmd!()
1380+
.args(&["in", "0"])
13811381
.fails()
13821382
.stderr_contains("cannot open 'in' for reading: No such file or directory");
13831383
}

0 commit comments

Comments
 (0)