Skip to content

Commit 6096767

Browse files
committed
csplit: simplify test
1 parent 50571c7 commit 6096767

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)