Skip to content

Commit 89f6b7e

Browse files
Use Java 21 for tests
Use this link to re-run the recipe: https://app.moderne.io/builder/H0eeUs6x1?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <[email protected]>
1 parent 9215ef3 commit 89f6b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/openrewrite/java/migrate/BouncyCastleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void runBouncyCastleArtifactUpgradeRecipe(
156156
.singleElement()
157157
.satisfies(rd -> {
158158
assertThat(rd.getGroupId()).isEqualTo("org.bouncycastle");
159-
assertThat(rd.getArtifactId()).isEqualTo(String.format("%s-%s", baseArtifactId, expectedArtifactSuffix));
159+
assertThat(rd.getArtifactId()).isEqualTo("%s-%s".formatted(baseArtifactId, expectedArtifactSuffix));
160160
}))
161161
)
162162
)

0 commit comments

Comments
 (0)