[clang-tools-extra] r353857 - [clangd] Fix a lit-test.

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 12 08:54:47 PST 2019


Author: kadircet
Date: Tue Feb 12 08:54:47 2019
New Revision: 353857

URL: http://llvm.org/viewvc/llvm-project?rev=353857&view=rev
Log:
[clangd] Fix a lit-test.

Summary:
Fixes https://bugs.llvm.org/show_bug.cgi?id=40593.
Non-percent-encoded chars doesn't cause any problems on the input-side since we
assume everything after authority section is data and don't interpret them as
delimeters.

Reviewers: sammccall

Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58126

Modified:
    clang-tools-extra/trunk/test/clangd/Inputs/background-index/definition.jsonrpc

Modified: clang-tools-extra/trunk/test/clangd/Inputs/background-index/definition.jsonrpc
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/Inputs/background-index/definition.jsonrpc?rev=353857&r1=353856&r2=353857&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/Inputs/background-index/definition.jsonrpc (original)
+++ clang-tools-extra/trunk/test/clangd/Inputs/background-index/definition.jsonrpc Tue Feb 12 08:54:47 2019
@@ -44,7 +44,7 @@
     }
   }
 }
-# CHECK: "uri": "file://DIRECTORY/foo.cpp"
+# CHECK: "uri": "file://{{.*}}/foo.cpp"
 ---
 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
 ---




More information about the cfe-commits mailing list