[clang-tools-extra] r317686 - [clangd] tolerate windows filepaths in tests
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 8 04:25:00 PST 2017
Author: sammccall
Date: Wed Nov 8 04:25:00 2017
New Revision: 317686
URL: http://llvm.org/viewvc/llvm-project?rev=317686&view=rev
Log:
[clangd] tolerate windows filepaths in tests
Modified:
clang-tools-extra/trunk/test/clangd/diagnostics-preamble.test
Modified: clang-tools-extra/trunk/test/clangd/diagnostics-preamble.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/diagnostics-preamble.test?rev=317686&r1=317685&r2=317686&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/diagnostics-preamble.test (original)
+++ clang-tools-extra/trunk/test/clangd/diagnostics-preamble.test Wed Nov 8 04:25:00 2017
@@ -11,7 +11,7 @@ Content-Length: 206
# CHECK: "method": "textDocument/publishDiagnostics",
# CHECK-NEXT: "params": {
# CHECK-NEXT: "diagnostics": [],
-# CHECK-NEXT: "uri": "file:///main.cpp"
+# CHECK-NEXT: "uri": "file:///{{([A-Z]:/)?}}main.cpp"
# CHECK-NEXT: }
Content-Length: 58
More information about the cfe-commits
mailing list