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

Merge pull request #4330 from cakebaker/comm_enable_two_tests

comm: enable "no_arguments" & "one_argument" tests
This commit is contained in:
Sylvestre Ledru 2023-02-09 12:13:22 +01:00 committed by GitHub
commit 7363e53940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,16 +178,14 @@ fn unintuitive_default_behavior_1() {
.stdout_only_fixture("defaultcheck_unintuitive.expected");
}
#[ignore] //bug? should help be stdout if not called via -h|--help?
#[test]
fn no_arguments() {
new_ucmd!().fails().no_stdout().no_stderr();
new_ucmd!().fails().no_stdout();
}
#[ignore] //bug? should help be stdout if not called via -h|--help?
#[test]
fn one_argument() {
new_ucmd!().arg("a").fails().no_stdout().no_stderr();
new_ucmd!().arg("a").fails().no_stdout();
}
#[test]