Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

test: Count ignored names in the excluded-folders glob test (#8)

l0ng-ai79f6caeaa8a2
diff --git a/crates/ide-sdk/src/tests.rs b/crates/ide-sdk/src/tests.rs
index 4cac9ba4d..d74921218 100644
--- a/crates/ide-sdk/src/tests.rs
+++ b/crates/ide-sdk/src/tests.rs
@@ -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.