Skip to content

Commit 425b2dc

Browse files
committed
2025-10-13: Cargo.toml find_cmd_tests.rs
1 parent bb1e526 commit 425b2dc

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ chrono = "0.4.42"
1414
clap = "4.5"
1515
faccess = "0.2.4"
1616
walkdir = "2.5"
17-
regex = "1.11"
18-
onig = { version = "6.4", default-features = false }
19-
uucore = { version = "0.0.30", features = ["entries", "fs", "fsext", "mode"] }
20-
nix = { version = "0.29", features = ["fs", "user"] }
21-
argmax = "0.3.1"
17+
regex = "1.12"
18+
onig = { version = "6.5", default-features = false }
19+
uucore = { version = "0.2.2", features = ["entries", "fs", "fsext", "mode"] }
20+
nix = { version = "0.30", features = ["fs", "user"] }
21+
argmax = "0.4.0"
2222
uutests = { version = "0.0.30" }
2323
ctor = "0.4.1"
2424

tests/find_cmd_tests.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,22 @@ fn fix_up_regex_slashes(re: &str) -> String {
4141
re.to_owned()
4242
}
4343

44+
#[test]
45+
fn no_args_find() {
46+
new_ucmd!().succeeds();
47+
}
48+
4449
#[test]
4550
fn no_args() {
51+
52+
// let scene = TestScenario::new(util_name!());
53+
54+
// scene.ucmd()
55+
// //new_ucmd!()
56+
// .succeeds()
57+
// // .current_dir(env!("CARGO_MANIFEST_DIR"))
58+
// // .fails_with_code(1)
59+
// .no_stdout();
4660
let ts = TestScenario::new("find");
4761
ts.cmd(env!("CARGO_BIN_EXE_find"))
4862
.current_dir(env!("CARGO_MANIFEST_DIR"))

0 commit comments

Comments
 (0)