From efd1853d069fbd1476e82d015da4d0d04cfaccc0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 7 Nov 2022 12:21:12 +0100 Subject: Show it! - New show rule syntax - Set if syntax - Removed wrap syntax --- tests/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/src/tests.rs') diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 389938a4..aa9beaee 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -38,7 +38,7 @@ fn main() { // cache, a deterministic order is important for reproducibility. for entry in WalkDir::new("typ").sort_by_file_name() { let entry = entry.unwrap(); - if entry.depth() <= 1 { + if entry.depth() == 0 { continue; } -- cgit v1.2.3