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

who: clap 3

This commit is contained in:
Terts Diepraam 2022-01-11 15:22:12 +01:00
parent e9e5768591
commit e3b8e6c993
3 changed files with 34 additions and 34 deletions

View file

@ -136,7 +136,7 @@ fn test_arg1_arg2() {
#[test]
fn test_too_many_args() {
const EXPECTED: &str =
"error: The value 'u' was provided to '<FILE>...', but it wasn't expecting any more values";
"error: The value 'u' was provided to '<FILE>...' but it wasn't expecting any more values";
let args = ["am", "i", "u"];
new_ucmd!().args(&args).fails().stderr_contains(EXPECTED);