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

Fix broken tests due to updating Cargo.lock

This commit is contained in:
Alex Lyon 2017-11-18 17:25:15 -08:00
parent 8c846e2aa9
commit 4ef2ef29cd
No known key found for this signature in database
GPG key ID: B517F04B325131B1
5 changed files with 14 additions and 14 deletions

View file

@ -72,7 +72,7 @@ fn test_wrap_no_arg() {
new_ucmd!()
.arg(wrap_param)
.fails()
.stderr_only(format!("base32: error: Argument to option '{}' missing.\n",
.stderr_only(format!("base32: error: Argument to option '{}' missing\n",
if wrap_param == "-w" { "w" } else { "wrap" }));
}
}

View file

@ -64,7 +64,7 @@ fn test_wrap_no_arg() {
new_ucmd!()
.arg(wrap_param)
.fails()
.stderr_only(format!("base64: error: Argument to option '{}' missing.\n",
.stderr_only(format!("base64: error: Argument to option '{}' missing\n",
if wrap_param == "-w" { "w" } else { "wrap" }));
}
}

View file

@ -65,14 +65,14 @@ fn test_stdin_all_repeated() {
#[test]
fn test_stdin_all_repeated_separate() {
new_ucmd!()
.args(&["--all-repeated", "separate"]).pipe_in_fixture(INPUT)
.args(&["--all-repeated=separate"]).pipe_in_fixture(INPUT)
.run().stdout_is_fixture("sorted-all-repeated-separate.expected");
}
#[test]
fn test_stdin_all_repeated_prepend() {
new_ucmd!()
.args(&["--all-repeated", "prepend"]).pipe_in_fixture(INPUT)
.args(&["--all-repeated=prepend"]).pipe_in_fixture(INPUT)
.run().stdout_is_fixture("sorted-all-repeated-prepend.expected");
}