// engine).
if (Opts.Index)
completeWithIndex(Ctx, *Opts.Index, Contents, *CompletedName.SSInfo,
- CompletedName.Filter, &Results);
+ CompletedName.Filter, &Results, /*DebuggingLabel=*/"D");
if (Opts.StaticIndex)
completeWithIndex(Ctx, *Opts.StaticIndex, Contents, *CompletedName.SSInfo,
- CompletedName.Filter, &Results, /*DebuggingLabel=*/"G");
+ CompletedName.Filter, &Results, /*DebuggingLabel=*/"S");
}
return Results;
}
void f() { ::ns::^ }
)cpp",
Opts);
- EXPECT_THAT(Results.items, Contains(Labeled("[G]XYZ")));
- EXPECT_THAT(Results.items, Contains(Labeled("foo")));
+ EXPECT_THAT(Results.items, Contains(Labeled("[S]XYZ")));
+ EXPECT_THAT(Results.items, Contains(Labeled("[D]foo")));
}
TEST(CompletionTest, SimpleIndexBased) {