diff --git a/clang-tools-extra/clangd/unittests/FindTargetTests.cpp b/clang-tools-extra/clangd/unittests/FindTargetTests.cpp index 67dcb574d500a9..bccf98ee07ab47 100644 --- a/clang-tools-extra/clangd/unittests/FindTargetTests.cpp +++ b/clang-tools-extra/clangd/unittests/FindTargetTests.cpp @@ -464,7 +464,7 @@ TEST_F(TargetDeclTest, Concept) { )cpp"; EXPECT_DECLS( "ConceptSpecializationExpr", - {"template concept Fooable = requires (T t) { t.foo(); };"}); + {"template concept Fooable = requires (T t) { t.foo(); }"}); // trailing requires clause Code = R"cpp( @@ -475,7 +475,7 @@ TEST_F(TargetDeclTest, Concept) { void foo() requires [[Fooable]]; )cpp"; EXPECT_DECLS("ConceptSpecializationExpr", - {"template concept Fooable = true;"}); + {"template concept Fooable = true"}); // constrained-parameter Code = R"cpp( @@ -486,7 +486,7 @@ TEST_F(TargetDeclTest, Concept) { void bar(T t); )cpp"; EXPECT_DECLS("ConceptSpecializationExpr", - {"template concept Fooable = true;"}); + {"template concept Fooable = true"}); // partial-concept-id Code = R"cpp( @@ -497,7 +497,7 @@ TEST_F(TargetDeclTest, Concept) { void bar(T t); )cpp"; EXPECT_DECLS("ConceptSpecializationExpr", - {"template concept Fooable = true;"}); + {"template concept Fooable = true"}); } TEST_F(TargetDeclTest, FunctionTemplate) {