aboutsummaryrefslogtreecommitdiff
path: root/test/clangd/formatting.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/clangd/formatting.test')
-rw-r--r--test/clangd/formatting.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/clangd/formatting.test b/test/clangd/formatting.test
index 0834767b..09068fc0 100644
--- a/test/clangd/formatting.test
+++ b/test/clangd/formatting.test
@@ -4,13 +4,14 @@
Content-Length: 125
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
-# CHECK: Content-Length: 332
# CHECK: {"jsonrpc":"2.0","id":0,"result":{"capabilities":{
# CHECK: "textDocumentSync": 1,
# CHECK: "documentFormattingProvider": true,
# CHECK: "documentRangeFormattingProvider": true,
# CHECK: "documentOnTypeFormattingProvider": {"firstTriggerCharacter":"}","moreTriggerCharacter":[]},
-# CHECK: "codeActionProvider": true
+# CHECK: "codeActionProvider": true,
+# CHECK: "completionProvider": {"resolveProvider": false, "triggerCharacters": [".",">",":"]},
+# CHECK: "definitionProvider": true
# CHECK: }}}
#
Content-Length: 193
@@ -64,3 +65,7 @@ Content-Length: 204
Content-Length: 44
{"jsonrpc":"2.0","id":6,"method":"shutdown"}
+# CHECK: {"jsonrpc":"2.0","id":6,"result":null}
+Content-Length: 33
+
+{"jsonrpc":"2.0":"method":"exit"}