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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs
index 5e0fad0f4..7a93c8baf 100644
--- a/cli/lsp/completions.rs
+++ b/cli/lsp/completions.rs
@@ -587,11 +587,11 @@ mod tests {
let file_c = dir_a.join("c.ts");
std::fs::write(&file_c, b"").expect("could not create");
let file_d = dir_b.join("d.ts");
- std::fs::write(&file_d, b"").expect("could not create");
+ std::fs::write(file_d, b"").expect("could not create");
let file_e = dir_a.join("e.txt");
- std::fs::write(&file_e, b"").expect("could not create");
+ std::fs::write(file_e, b"").expect("could not create");
let file_f = dir_a.join("f.mjs");
- std::fs::write(&file_f, b"").expect("could not create");
+ std::fs::write(file_f, b"").expect("could not create");
let specifier =
ModuleSpecifier::from_file_path(file_c).expect("could not create");
let actual = get_local_completions(