Skip to content

Commit ecc4284

Browse files
committed
Add formatting test & drop extra include
1 parent 18ef1d8 commit ecc4284

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clang/unittests/Format/FormatTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26708,6 +26708,8 @@ TEST_F(FormatTest, PPBranchesInBracedInit) {
2670826708

2670926709
TEST_F(FormatTest, StreamOutputOperator) {
2671026710
verifyFormat("std::cout << \"foo\" << \"bar\" << baz;");
26711+
verifyFormat("std::cout << \"foo\\n\"\n"
26712+
" << \"bar\";");
2671126713
}
2671226714

2671326715
TEST_F(FormatTest, BreakAdjacentStringLiterals) {

clang/unittests/Format/TokenAnnotatorTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#include "FormatTestUtils.h"
1212
#include "TestLexer.h"
13-
#include "clang/Basic/TokenKinds.h"
1413
#include "gtest/gtest.h"
1514

1615
namespace clang {

0 commit comments

Comments
 (0)