mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
uutests: adjust the tests to use them
This commit is contained in:
parent
ccfcda531e
commit
a0179ea239
102 changed files with 1018 additions and 157 deletions
|
@ -5,8 +5,10 @@
|
|||
|
||||
// spell-checker:ignore (flags) runlevel mesg
|
||||
|
||||
use crate::common::util::{TestScenario, expected_result};
|
||||
|
||||
use uutests::new_ucmd;
|
||||
use uutests::unwrap_or_return;
|
||||
use uutests::util::{TestScenario, expected_result};
|
||||
use uutests::util_name;
|
||||
#[test]
|
||||
fn test_invalid_arg() {
|
||||
new_ucmd!().arg("--definitely-invalid").fails_with_code(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue