Fix unit tests

This commit is contained in:
David Peter 2022-11-01 20:12:56 +01:00
parent 3f72ef4cdd
commit ebd48d406e

View file

@ -1481,7 +1481,7 @@ fn test_exec_batch() {
&["foo", "--exec-batch", "echo", "{}", "{}"], &["foo", "--exec-batch", "echo", "{}", "{}"],
"error: Only one placeholder allowed for batch commands\n\ "error: Only one placeholder allowed for batch commands\n\
\n\ \n\
Usage: fd-find [OPTIONS] [PATTERN] [PATH]...\n\ Usage: fd-find [OPTIONS] [pattern] [path]...\n\
\n\ \n\
For more information try '--help'\n\ For more information try '--help'\n\
", ",
@ -1501,7 +1501,7 @@ fn test_exec_batch() {
&["foo", "--exec-batch", "echo {}"], &["foo", "--exec-batch", "echo {}"],
"error: First argument of exec-batch is expected to be a fixed executable\n\ "error: First argument of exec-batch is expected to be a fixed executable\n\
\n\ \n\
Usage: fd-find [OPTIONS] [PATTERN] [PATH]...\n\ Usage: fd-find [OPTIONS] [pattern] [path]...\n\
\n\ \n\
For more information try '--help'\n\ For more information try '--help'\n\
", ",