summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/completion_request_response_empty.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-05-18 06:45:13 +1000
committerBert Belder <bertbelder@gmail.com>2021-05-31 16:37:27 +0200
commit96abb27e7328391e9319c99dd23595e42f7982a2 (patch)
tree82cb99c1406fc94850bc3d5d66f8db40300860de /cli/tests/lsp/completion_request_response_empty.json
parent9ad52a28e500931a291e9658f155c4c3861de61a (diff)
refactor: share test harness for lsp between bench and integration (#10659)
Diffstat (limited to 'cli/tests/lsp/completion_request_response_empty.json')
-rw-r--r--cli/tests/lsp/completion_request_response_empty.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/cli/tests/lsp/completion_request_response_empty.json b/cli/tests/lsp/completion_request_response_empty.json
new file mode 100644
index 000000000..272dfb475
--- /dev/null
+++ b/cli/tests/lsp/completion_request_response_empty.json
@@ -0,0 +1,38 @@
+{
+ "isIncomplete": false,
+ "items": [
+ {
+ "label": ".",
+ "kind": 19,
+ "detail": "(local)",
+ "sortText": "1",
+ "insertText": "."
+ },
+ {
+ "label": "..",
+ "kind": 19,
+ "detail": "(local)",
+ "sortText": "1",
+ "insertText": ".."
+ },
+ {
+ "label": "http://localhost:4545",
+ "kind": 19,
+ "detail": "(registry)",
+ "sortText": "2",
+ "textEdit": {
+ "range": {
+ "start": {
+ "line": 0,
+ "character": 20
+ },
+ "end": {
+ "line": 0,
+ "character": 20
+ }
+ },
+ "newText": "http://localhost:4545"
+ }
+ }
+ ]
+}