Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions tests/test_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,20 @@ pub fn test_show_files_by_regex_match_nothing() {
assert!(output.contains("0B ┌── tests"));
}

#[cfg_attr(target_os = "windows", ignore)]
#[cfg_attr(target_os = "macos", ignore)] // TODO: Figure out why mac doesnt like this test
#[test]
pub fn test_show_files_by_regex_match_multiple() {
let output = build_command(vec![
"-c",
"-e",
"test_dir_unicode",
"test_dir_hidden",
"-e",
"test_dir2",
"-n",
"100",
"tests",
]);
assert!(output.contains("test_dir2"));
assert!(output.contains("test_dir_unicode"));
assert!(output.contains("test_dir_hidden"));
assert!(!output.contains("many")); // We do not find the 'many' folder in the 'test_dir' folder
}

Expand Down