We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad03fab commit a821295Copy full SHA for a821295
tests/find_cmd_tests.rs
@@ -43,17 +43,12 @@ fn fix_up_regex_slashes(re: &str) -> String {
43
44
#[test]
45
fn no_args() {
46
- new_ucmd!()
47
- //.arg("--invalid-argument")
+ let ts = TestScenario::new("find");
+ ts.cmd(env!("CARGO_BIN_EXE_find"))
48
.current_dir(env!("CARGO_MANIFEST_DIR"))
49
- .fails_with_code(1)
50
- .no_stdout();
51
- // let ts = TestScenario::new("find");
52
- // ts.cmd(env!("CARGO_BIN_EXE_find"))
53
- // .current_dir(env!("CARGO_MANIFEST_DIR"))
54
- // .succeeds()
55
- // .no_stderr()
56
- // .stdout_contains("test_data");
+ .succeeds()
+ .no_stderr()
+ .stdout_contains("test_data");
57
}
58
59
#[serial(working_dir)]
0 commit comments