summaryrefslogtreecommitdiff
path: root/cli/lsp/completions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/completions.rs')
-rw-r--r--cli/lsp/completions.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs
index 88900ceef..7e0705e99 100644
--- a/cli/lsp/completions.rs
+++ b/cli/lsp/completions.rs
@@ -858,8 +858,8 @@ mod tests {
.global()
.set(&specifier, HashMap::default(), source.as_bytes())
.expect("could not cache file");
- let document =
- documents.get_or_load(&specifier, &temp_dir.uri().join("$").unwrap());
+ let document = documents
+ .get_or_load(&specifier, Some(&temp_dir.uri().join("$").unwrap()));
assert!(document.is_some(), "source could not be setup");
}
documents