Skip to content

Commit be8bfad

Browse files
izeyesbrannen
authored andcommitted
Enable KotlinScriptTemplateTests in Spring WebFlux on Java 20
See gh-29249 Closes gh-30896
1 parent 63fe45d commit be8bfad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
import org.springframework.web.testfixture.server.MockServerWebExchange;
3434

3535
import static org.assertj.core.api.Assertions.assertThat;
36-
import static org.junit.jupiter.api.condition.JRE.JAVA_20;
36+
import static org.junit.jupiter.api.condition.JRE.JAVA_21;
3737

3838
/**
3939
* Unit tests for Kotlin script templates running on Kotlin JSR-223 support.
4040
*
4141
* @author Sebastien Deleuze
4242
*/
43-
@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet")
43+
@DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet")
4444
public class KotlinScriptTemplateTests {
4545

4646
@Test

0 commit comments

Comments
 (0)