[clang-tools-extra] r353694 - [clangd] Fix broken windows build bots.
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 11 05:01:48 PST 2019
Author: kadircet
Date: Mon Feb 11 05:01:47 2019
New Revision: 353694
URL: http://llvm.org/viewvc/llvm-project?rev=353694&view=rev
Log:
[clangd] Fix broken windows build bots.
Modified:
clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp?rev=353694&r1=353693&r2=353694&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/FileIndexTests.cpp Mon Feb 11 05:01:47 2019
@@ -218,7 +218,7 @@ TEST(FileIndexTest, HasSystemHeaderMappi
class Foo {};
)cpp";
auto MainFile = testPath("foo.cpp");
- auto HeaderFile = testPath("bits/alloc_traits.h");
+ auto HeaderFile = testPath("algorithm");
std::vector<const char *> Cmd = {"clang", "-xc++", MainFile.c_str(),
"-include", HeaderFile.c_str()};
// Preparse ParseInputs.
@@ -242,7 +242,7 @@ TEST(FileIndexTest, HasSystemHeaderMappi
auto Symbols = runFuzzyFind(Index, "");
EXPECT_THAT(Symbols, ElementsAre(_));
EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader,
- "<memory>");
+ "<algorithm>");
}
TEST(FileIndexTest, TemplateParamsInLabel) {
More information about the cfe-commits
mailing list