mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
refactor/polish ~ cargo make format
This commit is contained in:
parent
0fa249a944
commit
02e4226c26
1 changed files with 1 additions and 3 deletions
|
@ -129,9 +129,7 @@ fn missing_args_fails() {
|
||||||
#[test]
|
#[test]
|
||||||
fn missing_required_second_arg_fails() {
|
fn missing_required_second_arg_fails() {
|
||||||
let (_, mut ucmd) = at_and_ucmd!();
|
let (_, mut ucmd) = at_and_ucmd!();
|
||||||
let result = ucmd
|
let result = ucmd.args(&["foo"]).run();
|
||||||
.args(&["foo"])
|
|
||||||
.run();
|
|
||||||
|
|
||||||
assert!(!result.success);
|
assert!(!result.success);
|
||||||
assert!(result.stderr.contains("missing operand after"));
|
assert!(result.stderr.contains("missing operand after"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue