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

test: fix tests

This commit is contained in:
Yağız can Değirmenci 2021-05-26 03:07:49 +03:00
parent 071899d24d
commit 8fe34c72d2
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ fn test_stdbuf_line_buffered_stdout() {
#[test] #[test]
fn test_stdbuf_no_buffer_option_fails() { fn test_stdbuf_no_buffer_option_fails() {
new_ucmd!().args(&["head"]).fails().stderr_is( new_ucmd!().args(&["head"]).fails().stderr_is(
"The following required arguments were not provided:\n \ "error: The following required arguments were not provided:\n \
--error <MODE>\n \ --error <MODE>\n \
--input <MODE>\n \ --input <MODE>\n \
--output <MODE>\n\n\ --output <MODE>\n\n\

View file

@ -37,5 +37,5 @@ fn test_sync_no_existing_files() {
.arg("--data") .arg("--data")
.arg("do-no-exist") .arg("do-no-exist")
.fails() .fails()
.stderr_contains("error: cannot stat"); .stderr_contains("cannot stat");
} }