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

refactor ~ revert to single quotes for "Try '{0 --help'"

This is a test expectation for gnu.
This commit is contained in:
Michael Debertol 2021-08-14 17:21:18 +02:00
parent 6ab3d27c4e
commit 5f2335829a
25 changed files with 33 additions and 33 deletions

View file

@ -116,7 +116,7 @@ fn test_no_args() {
fn test_no_args_output() {
let ts = TestScenario::new(util_name!());
ts.ucmd().fails().stderr_is(&format!(
"{0}: missing operand\nTry `{1} {0} --help` for more information.",
"{0}: missing operand\nTry '{1} {0} --help' for more information.",
ts.util_name,
ts.bin_path.to_string_lossy()
));
@ -131,7 +131,7 @@ fn test_too_many_args() {
fn test_too_many_args_output() {
let ts = TestScenario::new(util_name!());
ts.ucmd().args(&["a", "b", "c"]).fails().stderr_is(format!(
"{0}: extra operand 'c'\nTry `{1} {0} --help` for more information.",
"{0}: extra operand 'c'\nTry '{1} {0} --help' for more information.",
ts.util_name,
ts.bin_path.to_string_lossy()
));