diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-10-14 02:21:12 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-10-14 02:21:12 +0000 |
commit | 282b36c1ce93d94df7cd936ac8746ffbddfc0e17 (patch) | |
tree | 2c5c0804afe25b580d74a0c3c2e29074d96892c2 | |
parent | 61d26556907c1e25965114ed4aa93c165a52f3b1 (diff) | |
download | bcm5719-llvm-282b36c1ce93d94df7cd936ac8746ffbddfc0e17.tar.gz bcm5719-llvm-282b36c1ce93d94df7cd936ac8746ffbddfc0e17.zip |
convert another test to unix line endings
llvm-svn: 374752
-rw-r--r-- | clang-tools-extra/clangd/test/symbol-info.test | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/clang-tools-extra/clangd/test/symbol-info.test b/clang-tools-extra/clangd/test/symbol-info.test index 65094a4bd4d..1142f3b80ed 100644 --- a/clang-tools-extra/clangd/test/symbol-info.test +++ b/clang-tools-extra/clangd/test/symbol-info.test @@ -1,14 +1,14 @@ -# RUN: clangd -lit-test < %s | FileCheck %s
-{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
----
-{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///simple.cpp","languageId":"cpp","version":1,"text":"void foo(); int main() { foo(); }\n"}}}
----
-{"jsonrpc":"2.0","id":1,"method":"textDocument/symbolInfo","params":{"textDocument":{"uri":"test:///simple.cpp"},"position":{"line":0,"character":27}}}
-# CHECK: "containerName": null,
-# CHECK-NEXT: "id": "CA2EBE44A1D76D2A",
-# CHECK-NEXT: "name": "foo",
-# CHECK-NEXT: "usr": "c:@F@foo#"
----
-{"jsonrpc":"2.0","id":3,"method":"shutdown"}
----
-{"jsonrpc":"2.0","method":"exit"}
+# RUN: clangd -lit-test < %s | FileCheck %s +{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} +--- +{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///simple.cpp","languageId":"cpp","version":1,"text":"void foo(); int main() { foo(); }\n"}}} +--- +{"jsonrpc":"2.0","id":1,"method":"textDocument/symbolInfo","params":{"textDocument":{"uri":"test:///simple.cpp"},"position":{"line":0,"character":27}}} +# CHECK: "containerName": null, +# CHECK-NEXT: "id": "CA2EBE44A1D76D2A", +# CHECK-NEXT: "name": "foo", +# CHECK-NEXT: "usr": "c:@F@foo#" +--- +{"jsonrpc":"2.0","id":3,"method":"shutdown"} +--- +{"jsonrpc":"2.0","method":"exit"} |