From 43cee17cbff164683a593b9d0296a07170cd1280 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 22 Jan 2018 13:03:25 +0000 Subject: [PATCH] [clangd] Try to fix build bot failue in r323101 llvm-svn: 323111 --- clang-tools-extra/unittests/clangd/URITests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/unittests/clangd/URITests.cpp b/clang-tools-extra/unittests/clangd/URITests.cpp index 0e6c0ac..ebb7e66 100644 --- a/clang-tools-extra/unittests/clangd/URITests.cpp +++ b/clang-tools-extra/unittests/clangd/URITests.cpp @@ -102,7 +102,7 @@ std::string resolveOrDie(const FileURI &U, llvm::StringRef HintPath = "") { TEST(URITest, Create) { #ifdef LLVM_ON_WIN32 - EXPECT_THAT(createOrDie("c:\\x\\y\\z"), "file:///c:/x/y/z"); + EXPECT_THAT(createOrDie("c:\\x\\y\\z"), "file:///c%3a/x/y/z"); #else EXPECT_THAT(createOrDie("/x/y/z"), "file:///x/y/z"); EXPECT_THAT(createOrDie("/(x)/y/\\ z"), "file:///%28x%29/y/%5c%20z"); @@ -180,7 +180,7 @@ TEST(URITest, ParseFailed) { TEST(URITest, Resolve) { #ifdef LLVM_ON_WIN32 - EXPECT_THAT(resolveOrDie(parseOrDie("file:///c:/x/y/z")), "c:\\x\\y\\z"); + EXPECT_THAT(resolveOrDie(parseOrDie("file:///c%3a/x/y/z")), "c:\\x\\y\\z"); #else EXPECT_EQ(resolveOrDie(parseOrDie("file:/a/b/c")), "/a/b/c"); EXPECT_EQ(resolveOrDie(parseOrDie("file://auth/a/b/c")), "/a/b/c"); -- 2.7.4