Skip to content

Commit 3ca9238

Browse files
committed
[clang-format][NFC] Fix test case format
1 parent be98428 commit 3ca9238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/unittests/Format/TokenAnnotatorTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,8 @@ TEST_F(TokenAnnotatorTest, UnderstandsRequiresClausesAndConcepts) {
11871187
EXPECT_TOKEN(Tokens[33], tok::identifier, TT_Unknown);
11881188

11891189
Tokens =
1190-
annotate("template<typename T>\n"
1191-
"requires (C1<T> && (C21<T> || C22<T> && C2e<T>) && C3<T>)\n"
1190+
annotate("template <typename T>\n"
1191+
" requires(C1<T> && (C21<T> || C22<T> && C2e<T>) && C3<T>)\n"
11921192
"struct Foo;");
11931193
ASSERT_EQ(Tokens.size(), 38u) << Tokens;
11941194
EXPECT_TOKEN(Tokens[5], tok::kw_requires, TT_RequiresClause);

0 commit comments

Comments
 (0)