feat: Adding threads flag

Thanks: Dj-Codeman
This commit is contained in:
andy.boot
2024-05-02 23:04:01 +01:00
parent 2c34c38b29
commit 5b87260467
10 changed files with 77 additions and 26 deletions
+6
View File
@@ -59,6 +59,12 @@ pub fn test_d_flag_works() {
assert!(!output.contains("hello_file"));
}
#[test]
pub fn test_threads_flag_works() {
let output = build_command(vec!["-T", "1", "tests/test_dir/"]);
assert!(output.contains("hello_file"));
}
#[test]
pub fn test_d_flag_works_and_still_recurses_down() {
// We had a bug where running with '-d 1' would stop at the first directory and the code