Skip to content

Commit d24d277

Browse files
committed
Enable each JDK's cases from that JDK on, with no upper bound
As FormatterCasesJava21Test and the others do.
1 parent 69cfb19 commit d24d277

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎open-java-format/src/test/java/com/palantir/javaformat/java/FormatterServiceImplJava21Test.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import org.junit.jupiter.api.parallel.Execution;
2323
import org.junit.jupiter.api.parallel.ExecutionMode;
2424

25-
/** {@link FormatterServiceImplTest} on JDK 21 to 24, with the cases of JDK 21. */
26-
@EnabledForJreRange(max = JRE.JAVA_24)
25+
/** {@link FormatterServiceImplTest} on JDK 21 and later, with the cases of JDK 21. */
26+
@EnabledForJreRange(min = JRE.JAVA_21)
2727
@Execution(ExecutionMode.CONCURRENT)
2828
final class FormatterServiceImplJava21Test {
2929
@TestFactory

‎open-java-format/src/test/java/com/palantir/javaformat/java/FormatterServiceImplJava25Test.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import org.junit.jupiter.api.parallel.Execution;
2323
import org.junit.jupiter.api.parallel.ExecutionMode;
2424

25-
/** {@link FormatterServiceImplTest} on JDK 25 to 27, with the cases of JDK 21 and 25. */
26-
@EnabledForJreRange(min = JRE.JAVA_25, max = JRE.JAVA_27)
25+
/** {@link FormatterServiceImplTest} on JDK 25 and later, with the cases of JDK 21 and 25. */
26+
@EnabledForJreRange(min = JRE.JAVA_25)
2727
@Execution(ExecutionMode.CONCURRENT)
2828
final class FormatterServiceImplJava25Test {
2929
@TestFactory

0 commit comments

Comments
 (0)