1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

Merge branch 'uutils:master' into master

This commit is contained in:
backwaterred 2021-08-04 12:47:47 -07:00 committed by GitHub
commit 2c41838166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 12 deletions

View file

@ -103,7 +103,7 @@ fn test_wrap_bad_arg() {
.arg(wrap_param)
.arg("b")
.fails()
.stderr_only("base32: Invalid wrap size: 'b': invalid digit found in string\n");
.stderr_only("base32: invalid wrap size: 'b'\n");
}
}
@ -112,9 +112,9 @@ fn test_base32_extra_operand() {
// Expect a failure when multiple files are specified.
new_ucmd!()
.arg("a.txt")
.arg("a.txt")
.arg("b.txt")
.fails()
.stderr_only("base32: extra operand 'a.txt'");
.stderr_only("base32: extra operand 'b.txt'\nTry 'base32 --help' for more information.");
}
#[test]

View file

@ -89,7 +89,7 @@ fn test_wrap_bad_arg() {
.arg(wrap_param)
.arg("b")
.fails()
.stderr_only("base64: Invalid wrap size: 'b': invalid digit found in string\n");
.stderr_only("base64: invalid wrap size: 'b'\n");
}
}
@ -98,9 +98,9 @@ fn test_base64_extra_operand() {
// Expect a failure when multiple files are specified.
new_ucmd!()
.arg("a.txt")
.arg("a.txt")
.arg("b.txt")
.fails()
.stderr_only("base64: extra operand 'a.txt'");
.stderr_only("base64: extra operand 'b.txt'\nTry 'base64 --help' for more information.");
}
#[test]