llvm-project/clang-tools-extra/clangd/test/spaces-in-delimited-input.test
raw| 1 | # RUN: clangd -input-style=delimited -sync < %s 2>&1 | FileCheck %s |
| 2 | # RUN: clangd -lit-test -sync < %s 2>&1 | FileCheck %s |
| 3 | # |
| 4 | {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | {"jsonrpc":"2.0","id":3,"method":"shutdown"} |
| 9 | |
| 10 | --- |
| 11 | |
| 12 | {"jsonrpc":"2.0","method":"exit"} |
| 13 | # CHECK-NOT: JSON parse error |