Skip to content

Commit eb369d4

Browse files
zygoloidmemfrob
authored andcommitted
Fix test following Clang change ef227b3.
1 parent 46d35c2 commit eb369d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang-tools-extra/clangd/unittests/FindTargetTests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ TEST_F(TargetDeclTest, Concept) {
464464
)cpp";
465465
EXPECT_DECLS(
466466
"ConceptSpecializationExpr",
467-
{"template <typename T> concept Fooable = requires (T t) { t.foo(); };"});
467+
{"template <typename T> concept Fooable = requires (T t) { t.foo(); }"});
468468

469469
// trailing requires clause
470470
Code = R"cpp(
@@ -475,7 +475,7 @@ TEST_F(TargetDeclTest, Concept) {
475475
void foo() requires [[Fooable]]<T>;
476476
)cpp";
477477
EXPECT_DECLS("ConceptSpecializationExpr",
478-
{"template <typename T> concept Fooable = true;"});
478+
{"template <typename T> concept Fooable = true"});
479479

480480
// constrained-parameter
481481
Code = R"cpp(
@@ -486,7 +486,7 @@ TEST_F(TargetDeclTest, Concept) {
486486
void bar(T t);
487487
)cpp";
488488
EXPECT_DECLS("ConceptSpecializationExpr",
489-
{"template <typename T> concept Fooable = true;"});
489+
{"template <typename T> concept Fooable = true"});
490490

491491
// partial-concept-id
492492
Code = R"cpp(
@@ -497,7 +497,7 @@ TEST_F(TargetDeclTest, Concept) {
497497
void bar(T t);
498498
)cpp";
499499
EXPECT_DECLS("ConceptSpecializationExpr",
500-
{"template <typename T, typename U> concept Fooable = true;"});
500+
{"template <typename T, typename U> concept Fooable = true"});
501501
}
502502

503503
TEST_F(TargetDeclTest, FunctionTemplate) {

0 commit comments

Comments
 (0)