File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
testlib/src/test/java/com/diffplug/spotless/java Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717
1818import static org .junit .jupiter .api .condition .JRE .JAVA_13 ;
1919import static org .junit .jupiter .api .condition .JRE .JAVA_15 ;
20- import static org .junit .jupiter .api .condition .JRE .JAVA_16 ;
2120import static org .junit .jupiter .api .condition .JRE .JAVA_20 ;
21+ import static org .junit .jupiter .api .condition .JRE .JAVA_21 ;
2222
2323import org .junit .jupiter .api .Test ;
2424import org .junit .jupiter .api .condition .EnabledForJreRange ;
@@ -62,6 +62,7 @@ void behavior() throws Exception {
6262 }
6363
6464 @ Test
65+ @ EnabledForJreRange (min = JAVA_21 , max = JAVA_21 )
6566 void versionBelowMinimumRequiredVersionIsNotAllowed () throws Exception {
6667 FormatterStep step = GoogleJavaFormatStep .create ("1.2" , "AOSP" , TestProvisioner .mavenCentral ());
6768 StepHarness .forStepNoRoundtrip (step )
@@ -70,7 +71,7 @@ void versionBelowMinimumRequiredVersionIsNotAllowed() throws Exception {
7071 }
7172
7273 @ Test
73- @ EnabledForJreRange (min = JAVA_16 )
74+ @ EnabledForJreRange (min = JAVA_21 , max = JAVA_21 )
7475 void versionBelowOneDotTenIsNotAllowed () throws Exception {
7576 FormatterStep step = GoogleJavaFormatStep .create ("1.9" , "AOSP" , TestProvisioner .mavenCentral ());
7677 StepHarness .forStepNoRoundtrip (step )
You can’t perform that action at this time.
0 commit comments