Bump version to 19.1.0git
[llvm-project.git] / clang-tools-extra / clangd / test / input-mirror.test
bloba34a4a08cf60cfaedadf9c8cc78fd7aee05b0726
1 # RUN: clangd -pretty -sync -input-mirror-file %t < %s\r
2 # Note that we have to use '-b' as -input-mirror-file does not have a newline at the end of file.\r
3 # RUN: diff -b %t %s\r
4 # It is absolutely vital that this file has CRLF line endings.\r
5 #\r
6 Content-Length: 125\r
7 \r
8 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}\r
9 Content-Length: 172\r
11 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///main.cpp","languageId":"cpp","version":1,"text":"int main() {\nint a;\na;\n}\n"}}}\r
12 Content-Length: 44\r
14 {"jsonrpc":"2.0","id":3,"method":"shutdown"}\r
15 Content-Length: 33\r
17 {"jsonrpc":"2.0","method":"exit"}\r