1
Fork 0
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:
Sylvestre Ledru 2022-08-02 09:56:01 +02:00 committed by GitHub
commit c660fc700f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 218 additions and 223 deletions

View file

@ -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()