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

base{32, 64, enc}: update to clap 4

This commit is contained in:
Terts Diepraam 2022-09-29 15:21:29 +02:00
parent cb8831af71
commit 26309dc9d7
8 changed files with 32 additions and 21 deletions

View file

@ -86,12 +86,12 @@ fn test_wrap() {
fn test_wrap_no_arg() {
for wrap_param in ["-w", "--wrap"] {
let ts = TestScenario::new(util_name!());
let expected_stderr = "error: The argument '--wrap <wrap>\' requires a value but none was \
supplied\n\nFor more information try --help";
let expected_stderr = "The argument '--wrap <COLS>' requires a value but none was supplied";
ts.ucmd()
.arg(wrap_param)
.fails()
.stderr_only(expected_stderr);
.stderr_contains(expected_stderr)
.no_stdout();
}
}