[clang-tools-extra] r361846 - [clangd] Fix test output for r361841
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue May 28 09:28:27 PDT 2019
Author: ibiryukov
Date: Tue May 28 09:28:27 2019
New Revision: 361846
URL: http://llvm.org/viewvc/llvm-project?rev=361846&view=rev
Log:
[clangd] Fix test output for r361841
Modified:
clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp
Modified: clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp?rev=361846&r1=361845&r2=361846&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp (original)
+++ clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp Tue May 28 09:28:27 2019
@@ -2397,7 +2397,7 @@ TEST(CompletionTest, CursorInSnippets) {
EXPECT_THAT(
Results.Completions,
Contains(AllOf(Named("while"),
- SnippetSuffix("(${1:condition}){${0:statements}\n}"))));
+ SnippetSuffix("(${1:condition}){\n${0:statements}\n}"))));
// However, snippets for functions must *not* end with $0.
EXPECT_THAT(Results.Completions,
Contains(AllOf(Named("while_foo"),
More information about the cfe-commits
mailing list