[clang-tools-extra] r374752 - convert another test to unix line endings

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 13 19:21:12 PDT 2019


Author: nico
Date: Sun Oct 13 19:21:12 2019
New Revision: 374752

URL: http://llvm.org/viewvc/llvm-project?rev=374752&view=rev
Log:
convert another test to unix line endings

Modified:
    clang-tools-extra/trunk/clangd/test/symbol-info.test

Modified: clang-tools-extra/trunk/clangd/test/symbol-info.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/test/symbol-info.test?rev=374752&r1=374751&r2=374752&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/test/symbol-info.test (original)
+++ clang-tools-extra/trunk/clangd/test/symbol-info.test Sun Oct 13 19:21:12 2019
@@ -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 at 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 at foo#"
+---
+{"jsonrpc":"2.0","id":3,"method":"shutdown"}
+---
+{"jsonrpc":"2.0","method":"exit"}




More information about the cfe-commits mailing list