[clangd] Try to fix windows buildbot. NFC

http://45.33.8.238/win/19116/step_9.txt
This commit is contained in:
Sam McCall 2020-07-04 12:03:22 +02:00
parent 6d6d5db251
commit 4f2e7f6fb1
1 changed files with 4 additions and 2 deletions

View File

@ -144,8 +144,10 @@ TEST_F(BackgroundIndexTest, Config) {
Context::empty(), FS, CDB, [&](llvm::StringRef) { return &MSS; },
/*ThreadPoolSize=*/4, /*OnProgress=*/nullptr, std::move(ContextProvider));
// Index the two files.
for (auto &Cmd : Cmds)
CDB.setCompileCommand(testPath(Cmd.Filename), std::move(Cmd));
for (auto &Cmd : Cmds) {
std::string FullPath = testPath(Cmd.Filename);
CDB.setCompileCommand(FullPath, std::move(Cmd));
}
// Wait for both files to be indexed.
ASSERT_TRUE(Idx.blockUntilIdleForTest());
EXPECT_THAT(runFuzzyFind(Idx, ""),