Skip to content

Commit 95fb827

Browse files
timtebeekTeamModerne
authored andcommitted
refactor: Java 21 for tests
Use this link to re-run the recipe: https://app.moderne.io/builder/VAYPd4TEG?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <[email protected]>
1 parent 1adc829 commit 95fb827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void needToJaxb2MavenPlugin() {
6363
""",
6464
after -> after.after(pomXml -> pomXml)
6565
.afterRecipe(doc -> assertThat(doc.getMarkers().findFirst(MavenResolutionResult.class))
66-
.hasValueSatisfying(mrr -> mrr.getPom().getPlugins().get(0).getVersion().startsWith("2.5.")))
66+
.hasValueSatisfying(mrr -> mrr.getPom().getPlugins().getFirst().getVersion().startsWith("2.5.")))
6767
)
6868
),
6969
8)

0 commit comments

Comments
 (0)