Skip to content

Commit

Permalink
Merge pull request #7106 from cakebaker/csplit_simplify_test
Browse files Browse the repository at this point in the history
csplit: simplify test
  • Loading branch information
sylvestre authored Jan 9, 2025
2 parents 50571c7 + 6096767 commit cef9a2b
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 cef9a2b

Please sign in to comment.