summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs12
-rw-r--r--cli/tests/testdata/lsp/completion_request_response_empty.json13
2 files changed, 14 insertions, 11 deletions
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": ["\"", "'"],
}
]
}))
diff --git a/cli/tests/testdata/lsp/completion_request_response_empty.json b/cli/tests/testdata/lsp/completion_request_response_empty.json
index c2218aaa7..9ece16e90 100644
--- a/cli/tests/testdata/lsp/completion_request_response_empty.json
+++ b/cli/tests/testdata/lsp/completion_request_response_empty.json
@@ -9,8 +9,7 @@
"insertText": ".",
"commitCharacters": [
"\"",
- "'",
- "/"
+ "'"
]
},
{
@@ -21,8 +20,7 @@
"insertText": "..",
"commitCharacters": [
"\"",
- "'",
- "/"
+ "'"
]
},
{
@@ -42,7 +40,12 @@
}
},
"newText": "http://localhost:4545"
- }
+ },
+ "commitCharacters": [
+ "\"",
+ "'",
+ "/"
+ ]
}
]
}