Skip to content

Commit 86dad6a

Browse files
committed
Add missing semicolon to template in UpdateTestAnnotation
1 parent dae77f2 commit 86dad6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, Ex
121121
.visitNonNull(m, ctx, getCursor().getParentOrThrow());
122122
}
123123
if (cta.expectedException != null) {
124-
m = JavaTemplate.builder("Object o = () -> #{}")
124+
m = JavaTemplate.builder("Object o = () -> #{};")
125125
.contextSensitive()
126126
.build()
127127
.apply(

0 commit comments

Comments
 (0)