diff options
author | Eric Liu <ioeric@google.com> | 2017-12-20 17:24:31 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2017-12-20 17:24:31 +0000 |
commit | 63696e14e310501bbc0b48d3215442d23df84408 (patch) | |
tree | 98c6e467acca69a139c081bfc04599224620a76a /clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp | |
parent | 188adaf46b98354e1758d065db27eff0f23bf0c6 (diff) | |
download | bcm5719-llvm-63696e14e310501bbc0b48d3215442d23df84408.tar.gz bcm5719-llvm-63696e14e310501bbc0b48d3215442d23df84408.zip |
[clangd] Pull CodeCompletionString handling logic into its own file and add unit test.
Reviewers: sammccall
Subscribers: klimek, mgorny, ilya-biryukov, cfe-commits
Differential Revision: https://reviews.llvm.org/D41450
llvm-svn: 321193
Diffstat (limited to 'clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp b/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp index 7411e1c3edf..db998b0805a 100644 --- a/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp +++ b/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp @@ -341,7 +341,7 @@ TEST(CompletionTest, Snippets) { )cpp", Opts); EXPECT_THAT(Results.items, - HasSubsequence(PlainText("a"), + HasSubsequence(Snippet("a"), Snippet("f(${1:int i}, ${2:const float f})"))); } |