diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 17:36:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 22:36:23 +0000 |
commit | 2b247be517d789a37e532849e2e40b724af0918f (patch) | |
tree | 1f689a0b872a5b05a4ce812f9f120df7134ba69d /cli/tests/integration/lsp_tests.rs | |
parent | f5840bdcd360ec0bac2501f333e58e25742b1537 (diff) |
fix: ensure "fs" -> "node:fs" error/quick fix works when user has import map (#17566)
Closes #17563
Diffstat (limited to 'cli/tests/integration/lsp_tests.rs')
-rw-r--r-- | cli/tests/integration/lsp_tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 1fd619a40..d149e6919 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -4563,7 +4563,7 @@ fn lsp_completions_node_specifier() { .filter(|d| { d.code == Some(lsp::NumberOrString::String( - "import-prefix-missing".to_string(), + "import-node-prefix-missing".to_string(), )) }) .collect::<Vec<_>>(); @@ -4602,7 +4602,7 @@ fn lsp_completions_node_specifier() { "end": { "line": 0, "character": 19 } }, "severity": 1, - "code": "import-prefix-missing", + "code": "import-node-prefix-missing", "source": "deno", "message": "Relative import path \"fs\" not prefixed with / or ./ or ../\nIf you want to use a built-in Node module, add a \"node:\" prefix (ex. \"node:fs\").", "data": { |