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:
parent
8c846e2aa9
commit
4ef2ef29cd
5 changed files with 14 additions and 14 deletions
|
@ -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" }));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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" }));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue