[clangd] Attempt to unbreak windows buildbots.
authorIlya Biryukov <ibiryukov@google.com>
Tue, 6 Feb 2018 19:09:44 +0000 (19:09 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Tue, 6 Feb 2018 19:09:44 +0000 (19:09 +0000)
Some buildbots are breaking on trace.test due to using Linux's path
separators. This commit should unbreak them.

llvm-svn: 324382

clang-tools-extra/test/clangd/trace.test

index 7474e8873255da412dde724181a1fa856cf397a0..7c391f7dbdfef2b47d83f9f9f6a809d35980fa7e 100644 (file)
@@ -10,7 +10,7 @@
 #      CHECK: "name": "Preamble"
 #      CHECK: },
 # Finish building the preamble, with filename.
-#      CHECK: "File": "{{.*}}/foo.c"
+#      CHECK: "File": "{{.*(/|\\)}}foo.c"
 # CHECK-NEXT: },
 # CHECK-NEXT: "ph": "E"
 # Start building the file.