1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

csplit: simplify test

This commit is contained in:
Daniel Hofstetter 2025-01-09 15:20:22 +01:00
parent 50571c7346
commit 6096767442

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");
}