[clang-tools-extra] 4294619 - [clangd] Fix the window buildbot test failures

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 04:06:51 PDT 2023


Author: Haojian Wu
Date: 2023-04-26T12:59:45+02:00
New Revision: 4294619b4cdfed49502dcebc7efd5f044e587267

URL: https://github.com/llvm/llvm-project/commit/4294619b4cdfed49502dcebc7efd5f044e587267
DIFF: https://github.com/llvm/llvm-project/commit/4294619b4cdfed49502dcebc7efd5f044e587267.diff

LOG: [clangd] Fix the window buildbot test failures

Added: 
    

Modified: 
    clang-tools-extra/clangd/test/fixits-codeaction-documentchanges.test
    clang-tools-extra/clangd/test/fixits-command-documentchanges.test

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/test/fixits-codeaction-documentchanges.test b/clang-tools-extra/clangd/test/fixits-codeaction-documentchanges.test
index 0e15f34f321de..7a591319a7405 100644
--- a/clang-tools-extra/clangd/test/fixits-codeaction-documentchanges.test
+++ b/clang-tools-extra/clangd/test/fixits-codeaction-documentchanges.test
@@ -81,7 +81,7 @@
 # CHECK-NEXT:              }
 # CHECK-NEXT:            ],
 # CHECK-NEXT:            "textDocument": {
-# CHECK-NEXT:              "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:              "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:              "version": 1
 # CHECK-NEXT:            }
 # CHECK-NEXT:          }
@@ -128,7 +128,7 @@
 # CHECK-NEXT:              }
 # CHECK-NEXT:            ],
 # CHECK-NEXT:            "textDocument": {
-# CHECK-NEXT:              "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:              "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:              "version": 1
 # CHECK-NEXT:            }
 # CHECK-NEXT:          }

diff  --git a/clang-tools-extra/clangd/test/fixits-command-documentchanges.test b/clang-tools-extra/clangd/test/fixits-command-documentchanges.test
index 26b21c49ef9bd..cd636c4df387a 100644
--- a/clang-tools-extra/clangd/test/fixits-command-documentchanges.test
+++ b/clang-tools-extra/clangd/test/fixits-command-documentchanges.test
@@ -64,7 +64,7 @@
 # CHECK-NEXT:                }
 # CHECK-NEXT:              ],
 # CHECK-NEXT:              "textDocument": {
-# CHECK-NEXT:                "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:                "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:                "version": 0
 # CHECK-NEXT:              }
 # CHECK-NEXT:            }
@@ -95,7 +95,7 @@
 # CHECK-NEXT:                }
 # CHECK-NEXT:              ],
 # CHECK-NEXT:              "textDocument": {
-# CHECK-NEXT:                "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:                "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:                "version": 0
 # CHECK-NEXT:              }
 # CHECK-NEXT:            }
@@ -146,7 +146,7 @@
 # CHECK-NEXT:                }
 # CHECK-NEXT:              ],
 # CHECK-NEXT:              "textDocument": {
-# CHECK-NEXT:                "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:                "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:                "version": 0
 # CHECK-NEXT:              }
 # CHECK-NEXT:            }
@@ -177,7 +177,7 @@
 # CHECK-NEXT:                }
 # CHECK-NEXT:              ],
 # CHECK-NEXT:              "textDocument": {
-# CHECK-NEXT:                "uri": "file:///clangd-test/foo.c",
+# CHECK-NEXT:                "uri": "file://{{.*}}/foo.c",
 # CHECK-NEXT:                "version": 0
 # CHECK-NEXT:              }
 # CHECK-NEXT:            }


        


More information about the cfe-commits mailing list