[clang-tools-extra] 96d771c - [clangd] Avoid escaping issues in system-include-extractor.test

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 8 14:48:19 PST 2022


Author: Sam McCall
Date: 2022-11-08T23:48:15+01:00
New Revision: 96d771c4707df9b3153ea5a8451f2bbbe17c8917

URL: https://github.com/llvm/llvm-project/commit/96d771c4707df9b3153ea5a8451f2bbbe17c8917
DIFF: https://github.com/llvm/llvm-project/commit/96d771c4707df9b3153ea5a8451f2bbbe17c8917.diff

LOG: [clangd] Avoid escaping issues in system-include-extractor.test

Added: 
    

Modified: 
    clang-tools-extra/clangd/test/system-include-extractor.test

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/test/system-include-extractor.test b/clang-tools-extra/clangd/test/system-include-extractor.test
index ba6aaf6efb9d..cb894623a3b6 100644
--- a/clang-tools-extra/clangd/test/system-include-extractor.test
+++ b/clang-tools-extra/clangd/test/system-include-extractor.test
@@ -63,7 +63,7 @@
 # CHECK:   "method": "textDocument/publishDiagnostics",
 # CHECK-NEXT:   "params": {
 # CHECK-NEXT:     "diagnostics": [],
-# CHECK-NEXT:     "uri": "file://INPUT_DIR/the-file.cpp",
+# CHECK-NEXT:     "uri": "file://{{.*}}/the-file.cpp",
 ---
 {"jsonrpc":"2.0","id":10000,"method":"shutdown"}
 ---


        


More information about the cfe-commits mailing list