csplit: simplify test

This commit is contained in:
Daniel Hofstetter
2025-01-09 15:20:22 +01:00
parent 50571c7346
commit 6096767442
+2 -2
View File
@@ -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");
}