Skip to content

Commit 29e071d

Browse files
committed
Handle new Java 17 fx zulu images going forward
1 parent abce128 commit 29e071d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,9 @@ void nonNumericalVersionPart() {
141141
"""
142142
java=11.0.25.fx-zulu
143143
""",
144-
"""
145-
java=17.0.16.fx-zulu
146-
""",
147-
spec -> spec.path(".sdkmanrc")
144+
spec -> spec
145+
.after(str -> assertThat(str).startsWith("java=17.0.").endsWith(".fx-zulu").actual())
146+
.path(".sdkmanrc")
148147
)
149148
);
150149
}

0 commit comments

Comments
 (0)