mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
test: Count ignored names in the excluded-folders glob test (#8)
a66f01e adds files.ignoredNames to exclude_globs(), so the expected
length is file_excludes() + 1, not files.exclude + 1. The test failed on
every platform since.
This commit is contained in:
@@ -174,7 +174,7 @@ fn excluded_folders_become_anchored_globs() {
|
||||
s.project_structure.excluded = vec!["build/".into(), " ".into()];
|
||||
let globs = s.exclude_globs();
|
||||
assert!(globs.contains(&"/build".to_owned()));
|
||||
assert_eq!(globs.len(), s.files.exclude.len() + 1);
|
||||
assert_eq!(globs.len(), s.file_excludes().len() + 1);
|
||||
}
|
||||
|
||||
/// Prints what this machine has installed.
|
||||
|
||||
Reference in New Issue
Block a user