Skip to content

Commit

Permalink
csplit: simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Jan 9, 2025
1 parent 50571c7 commit 6096767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/by-util/test_csplit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,8 +1376,8 @@ fn zero_error() {

#[test]
fn no_such_file() {
let (_, mut ucmd) = at_and_ucmd!();
ucmd.args(&["in", "0"])
new_ucmd!()
.args(&["in", "0"])
.fails()
.stderr_contains("cannot open 'in' for reading: No such file or directory");
}
Expand Down

0 comments on commit 6096767

Please sign in to comment.