[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / mlir / test / mlir-lsp-server / initialize-params-invalid.test
blob5cf317661ae1db413b6a11aa1f9db00e5c072b06
1 // RUN: mlir-lsp-server -lit-test < %s | FileCheck -strict-whitespace %s
2 // Test with invalid initialize request parameters
3 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":"","rootUri":"test:///workspace","capabilities":{},"clientInfo":{"name": 10},"trace":"verbose"}}
4 //      CHECK:  "id": 0,
5 // CHECK-NEXT:  "jsonrpc": "2.0",
6 // CHECK-NEXT:  "result": {
7 // CHECK-NEXT:    "capabilities": {
8 // ...
9 // -----
10 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
11 // -----
12 {"jsonrpc":"2.0","method":"exit"}