comm: enable "no_arguments" & "one_argument" tests

This commit is contained in:
Daniel Hofstetter
2023-02-09 10:51:32 +01:00
parent 588a890edd
commit a22749ec57
+2 -4
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]