mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
expr: fail fast if there are no operands
This commit is contained in:
parent
af021e0d4f
commit
2e77d99dd4
2 changed files with 6 additions and 2 deletions
|
@ -11,7 +11,7 @@ fn test_no_arguments() {
|
|||
new_ucmd!()
|
||||
.fails()
|
||||
.code_is(2)
|
||||
.stderr_only("expr: missing operand\n");
|
||||
.usage_error("missing operand");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue