From 800db530d9fa1ed03a4facbb9e058413f4eca42c Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Tue, 28 May 2019 16:28:27 +0000 Subject: [PATCH] [clangd] Fix test output for r361841 llvm-svn: 361846 --- clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp b/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp index 4dcb8701a359..a7aa16569bfe 100644 --- a/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp +++ b/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp @@ -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"),