Skip to content

Commit

Permalink
[clangd] Fix broken windows build bots.
Browse files Browse the repository at this point in the history
llvm-svn: 353694
  • Loading branch information
kadircet committed Feb 11, 2019
1 parent 0136e7a commit cf13bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang-tools-extra/unittests/clangd/FileIndexTests.cpp
Expand Up @@ -218,7 +218,7 @@ TEST(FileIndexTest, HasSystemHeaderMappingsInPreamble) {
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.
Expand All @@ -242,7 +242,7 @@ TEST(FileIndexTest, HasSystemHeaderMappingsInPreamble) {
auto Symbols = runFuzzyFind(Index, "");
EXPECT_THAT(Symbols, ElementsAre(_));
EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader,
"<memory>");
"<algorithm>");
}

TEST(FileIndexTest, TemplateParamsInLabel) {
Expand Down

0 comments on commit cf13bfe

Please sign in to comment.