summaryrefslogtreecommitdiff
path: root/support/texlab/crates/highlights/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/highlights/src/tests.rs')
-rw-r--r--support/texlab/crates/highlights/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/highlights/src/tests.rs b/support/texlab/crates/highlights/src/tests.rs
index 74c3cc0c18..ef63a3137b 100644
--- a/support/texlab/crates/highlights/src/tests.rs
+++ b/support/texlab/crates/highlights/src/tests.rs
@@ -10,7 +10,7 @@ fn check(input: &str, expected_kinds: &[HighlightKind]) {
.map(|location| location.range)
.collect::<Vec<_>>();
- let results = crate::find_all(HighlightParams { feature, offset });
+ let results = crate::find_all(&HighlightParams { feature, offset });
let actual_ranges = results
.iter()