From 09d14b1b57ffe28e5d43d3fb3ae237cc944596ae Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 2 Aug 2022 08:54:17 +1000 Subject: fix(lsp): use correct commit chars for completions (#15366) Fixes: #15252 --- cli/tests/integration/lsp_tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/tests/integration/lsp_tests.rs') diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 568ac6e7c..ceca077e8 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -775,7 +775,7 @@ fn lsp_import_map_import_completions() { "detail": "(local)", "sortText": "1", "insertText": ".", - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], }, { "label": "..", @@ -783,7 +783,7 @@ fn lsp_import_map_import_completions() { "detail": "(local)", "sortText": "1", "insertText": "..", - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], }, { "label": "std", @@ -791,7 +791,7 @@ fn lsp_import_map_import_completions() { "detail": "(import map)", "sortText": "std", "insertText": "std", - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], }, { "label": "fs", @@ -799,7 +799,7 @@ fn lsp_import_map_import_completions() { "detail": "(import map)", "sortText": "fs", "insertText": "fs", - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], }, { "label": "/~", @@ -807,7 +807,7 @@ fn lsp_import_map_import_completions() { "detail": "(import map)", "sortText": "/~", "insertText": "/~", - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], } ] })) @@ -889,7 +889,7 @@ fn lsp_import_map_import_completions() { }, "newText": "/~/b.ts" }, - "commitCharacters": ["\"", "'", "/"], + "commitCharacters": ["\"", "'"], } ] })) -- cgit v1.2.3