1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

tests: replace run() with succeeds() or fails()

This commit is contained in:
Daniel Hofstetter 2025-03-09 16:53:56 +01:00
parent 3844a74c38
commit df4dfea852
39 changed files with 434 additions and 498 deletions

View file

@ -662,8 +662,7 @@ fn test_appending_same_input_output() {
ucmd.set_stdin(file_read);
ucmd.set_stdout(file_write);
ucmd.run()
.failure()
ucmd.fails()
.no_stdout()
.stderr_contains("input file is output file");
}