mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests: adapt to clap's modified error messages
This commit is contained in:
parent
817a832f33
commit
3eeb5dda30
13 changed files with 17 additions and 25 deletions
|
@ -86,7 +86,7 @@ fn test_wrap() {
|
|||
fn test_wrap_no_arg() {
|
||||
for wrap_param in ["-w", "--wrap"] {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let expected_stderr = "The argument '--wrap <COLS>' requires a value but none was supplied";
|
||||
let expected_stderr = "a value is required for '--wrap <COLS>' but none was supplied";
|
||||
ts.ucmd()
|
||||
.arg(wrap_param)
|
||||
.fails()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue