forked from OSchip/llvm-project
13 lines
476 B
Plaintext
13 lines
476 B
Plaintext
// RUN: mlir-pdll-lsp-server -lit-test < %s | FileCheck %s
|
|
// Test with invalid initialize request parameters
|
|
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":"","rootUri":"test:///workspace","capabilities":{},"trace":"verbose"}}
|
|
// 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"}
|