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

base64: Refactor argument parsing

Moved most of the argument parsing logic to `base32/base_common.rs` to
allow for significant code reuse.
This commit is contained in:
Ricardo Iglesias 2021-04-29 01:59:43 -07:00
parent 05b20c32a9
commit f307de22d0
8 changed files with 187 additions and 287 deletions

View file

@ -98,7 +98,7 @@ fn test_wrap_bad_arg() {
.arg(wrap_param)
.arg("b")
.fails()
.stderr_only("base32: error: invalid wrap size: b: invalid digit found in string\n");
.stderr_only("base32: error: Invalid wrap size: b: invalid digit found in string\n");
}
}