diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2017-07-25 09:31:51 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2017-07-25 09:31:51 +0000 |
commit | e98fa38292721fd0006682f6bd9e9334528ff078 (patch) | |
tree | 27d54604c245ba2e408337befea3099a28225422 | |
parent | 4c351c65406b27ca71c9febe29eb0f1cd975a10a (diff) | |
download | bcm5719-llvm-e98fa38292721fd0006682f6bd9e9334528ff078.tar.gz bcm5719-llvm-e98fa38292721fd0006682f6bd9e9334528ff078.zip |
[clangd] Workaround Windows test failures.
To properly fix this, Unix-specific paths should not be used when
running tests on Windows.
llvm-svn: 308959
-rw-r--r-- | clang-tools-extra/test/clangd/definitions.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clangd/definitions.test b/clang-tools-extra/test/clangd/definitions.test index 57e0dcecdc7..3372baa8e6b 100644 --- a/clang-tools-extra/test/clangd/definitions.test +++ b/clang-tools-extra/test/clangd/definitions.test @@ -138,8 +138,8 @@ Content-Length: 204 Content-Length: 148
{"jsonrpc":"2.0","id":1,"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///main.cpp"},"position":{"line":2,"character":9}}}
-# Go to macro
-# CHECK: {"jsonrpc":"2.0","id":1,"result":[{"uri": "file:///main.cpp", "range": {"start": {"line": 0, "character": 8}, "end": {"line": 0, "character": 18}}}]}
+# Go to macro.
+# CHECK: {"jsonrpc":"2.0","id":1,"result":[{"uri": "file:///{{(C:/)?}}main.cpp", "range": {"start": {"line": 0, "character": 8}, "end": {"line": 0, "character": 18}}}]}
Content-Length: 217
@@ -149,7 +149,7 @@ Content-Length: 148 {"jsonrpc":"2.0","id":1,"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///main.cpp"},"position":{"line":1,"character":8}}}
# Go to macro, re-defined later
-# CHECK: {"jsonrpc":"2.0","id":1,"result":[{"uri": "file:///main.cpp", "range": {"start": {"line": 0, "character": 8}, "end": {"line": 0, "character": 13}}}]}
+# CHECK: {"jsonrpc":"2.0","id":1,"result":[{"uri": "file:///{{(C:/)?}}main.cpp", "range": {"start": {"line": 0, "character": 8}, "end": {"line": 0, "character": 13}}}]}
Content-Length: 148
|