mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
test: fix tests
This commit is contained in:
parent
071899d24d
commit
8fe34c72d2
2 changed files with 2 additions and 2 deletions
|
@ -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\
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue