[PATCH] D58126: [clangd] Fix a lit-test.

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


kadircet created this revision.
kadircet added a reviewer: sammccall.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ioeric, ilya-biryukov.
Herald added a project: clang.

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.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D58126

Files:
  test/clangd/Inputs/background-index/definition.jsonrpc


Index: test/clangd/Inputs/background-index/definition.jsonrpc
===================================================================
--- test/clangd/Inputs/background-index/definition.jsonrpc
+++ test/clangd/Inputs/background-index/definition.jsonrpc
@@ -44,7 +44,7 @@
     }
   }
 }
-# CHECK: "uri": "file://DIRECTORY/foo.cpp"
+# CHECK: "uri": "file://{{.*}}/foo.cpp"
 ---
 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
 ---


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58126.186475.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190212/97c022ef/attachment.bin>


More information about the cfe-commits mailing list