ilya-biryukov added inline comments.

Comment at: unittests/clangd/FileIndexTests.cpp:218
+      EXPECT_EQ(Sym.CompletionLabel, "vector<class Ty>");
+      EXPECT_EQ(Sym.CompletionSnippetInsertText, "vector<${1:class Ty}>");
+      SeenVector = true;
sammccall wrote:
> If snippets are off, we'll get "vector", not "vector<>", right?
> (Probably no need to test this explicitly, but I just want to be sure)
Yes, that's exactly the case.
Testing doesn't hurt too, added a test.

  rCTE Clang Tools Extra

cfe-commits mailing list

Reply via email to