Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp-M committed May 26, 2022
1 parent 6811186 commit 65961c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,10 @@ mod test {
"#,
);

let loader = Loader::new(Configuration { language: vec![] });
let loader = Loader::new(Configuration {
language: vec![],
language_server: HashMap::new(),
});
let language = get_language("Rust").unwrap();

let query = Query::new(language, query_str).unwrap();
Expand Down Expand Up @@ -2095,7 +2098,10 @@ mod test {
.map(String::from)
.collect();

let loader = Loader::new(Configuration { language: vec![] });
let loader = Loader::new(Configuration {
language: vec![],
language_server: HashMap::new(),
});

let language = get_language("Rust").unwrap();
let config = HighlightConfiguration::new(
Expand Down

0 comments on commit 65961c9

Please sign in to comment.