You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
460 B
13 lines
460 B
# RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
|
|
# Test with invalid initialize request parameters
|
|
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":"","rootUri":"test:///workspace","capabilities":{},"trace":"off"}}
|
|
# CHECK: "id": 0,
|
|
# CHECK-NEXT: "jsonrpc": "2.0",
|
|
# CHECK-NEXT: "result": {
|
|
# CHECK-NEXT: "capabilities": {
|
|
# ...
|
|
---
|
|
{"jsonrpc":"2.0","id":3,"method":"shutdown"}
|
|
---
|
|
{"jsonrpc":"2.0","method":"exit"}
|