summaryrefslogtreecommitdiff
path: root/support/texlab/crates/definition/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/definition/src/tests.rs')
-rw-r--r--support/texlab/crates/definition/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/definition/src/tests.rs b/support/texlab/crates/definition/src/tests.rs
index 8d81927d32..54b0e38f30 100644
--- a/support/texlab/crates/definition/src/tests.rs
+++ b/support/texlab/crates/definition/src/tests.rs
@@ -30,7 +30,7 @@ fn check(input: &str) {
}
}
- let actual = crate::goto_definition(DefinitionParams { feature, offset });
+ let actual = crate::goto_definition(&DefinitionParams { feature, offset });
assert_eq!(actual, expected);
}