forked from OSchip/llvm-project
[clangd] Try to fix windows buildbot after r343576
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/20347/steps/test/logs/stdio llvm-svn: 343623
This commit is contained in:
parent
a659d779f8
commit
9a3af5a4f1
|
@ -1019,11 +1019,12 @@ TEST(ClangdTests, PreambleVFSStatCache) {
|
|||
|
||||
runAddDocument(Server, SourcePath, Code.code());
|
||||
|
||||
EXPECT_EQ(CountStats["foo.h"], 1u);
|
||||
unsigned Before = CountStats["foo.h"];
|
||||
EXPECT_GT(Before, 0u);
|
||||
auto Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(),
|
||||
clangd::CodeCompleteOptions()))
|
||||
.Completions;
|
||||
EXPECT_EQ(CountStats["foo.h"], 1u);
|
||||
EXPECT_EQ(CountStats["foo.h"], Before);
|
||||
EXPECT_THAT(Completions,
|
||||
ElementsAre(Field(&CodeCompletion::Name, "TestSym")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue