We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74646a2 commit 51bcedbCopy full SHA for 51bcedb
src/test/java/org/openrewrite/java/migrate/UpdateSdkManTest.java
@@ -157,10 +157,11 @@ void zuluNonCrac() {
157
"""
158
java=11.0.28-zulu
159
""",
160
- """
161
- java=17.0.16-zulu
162
- """,
163
spec -> spec.path(".sdkmanrc")
+ .after(str -> assertThat(str)
+ .startsWith("java=17.0.")
+ .endsWith("-zulu")
164
+ .actual())
165
)
166
);
167
}
@@ -173,10 +174,12 @@ void upgradeIfNewVersionIsStillSameVersionBasisAndSameDistribution() {
173
174
175
java=21.0.6-zulu
176
177
- java=21.0.8-zulu
178
179
+ .startsWith("java=21.0.")
180
+ .doesNotContain("21.0.6")
181
182
183
184
185
0 commit comments