mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 03:36:18 +00:00
Merge pull request #3757 from cakebaker/clap_update
bump clap from 3.1.18 to 3.2.15
This commit is contained in:
commit
c660fc700f
108 changed files with 218 additions and 223 deletions
|
@ -86,13 +86,8 @@ fn test_wrap() {
|
|||
fn test_wrap_no_arg() {
|
||||
for wrap_param in ["-w", "--wrap"] {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let expected_stderr = &format!(
|
||||
"error: The argument '--wrap <wrap>\' requires a value but none was \
|
||||
supplied\n\nUSAGE:\n {1} {0} [OPTION]... [FILE]\n\nFor more \
|
||||
information try --help",
|
||||
ts.util_name,
|
||||
ts.bin_path.to_string_lossy()
|
||||
);
|
||||
let expected_stderr = "error: The argument '--wrap <wrap>\' requires a value but none was \
|
||||
supplied\n\nFor more information try --help";
|
||||
ts.ucmd()
|
||||
.arg(wrap_param)
|
||||
.fails()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue