1 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
4 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///main.cpp","languageId":"cpp","version":1,"text":""}}}
6 {"jsonrpc":"2.0","id":1,"method":"textDocument/jumpInTheAirLikeYouJustDontCare","params":{}}
8 # CHECK-NEXT: "code": -32601,
9 # CHECK-NEXT: "message": "method not found"
11 # CHECK-NEXT: "id": 1,
12 # CHECK-NEXT: "jsonrpc": "2.0"
14 {"jsonrpc":"2.0","id":2,"method":"shutdown"}
16 {"jsonrpc":"2.0","method":"exit"}