Fix: depth=0 bug for multiple arguments

https://github.com/bootandy/dust/issues/282
This commit is contained in:
andy.boot
2023-01-04 22:59:38 +00:00
parent c457a295b5
commit 07c228fd08
3 changed files with 17 additions and 10 deletions
+1
View File
@@ -73,6 +73,7 @@ pub fn test_ignore_dir() {
let output = build_command(vec!["-c", "-X", "dir_substring", "tests/test_dir2/"]);
assert!(!output.contains("dir_substring"));
}
// Add test for multiple dirs - with -d 0 and maybe -d 1 check the
#[test]
pub fn test_with_bad_param() {