Enable KotlinScriptTemplateTests in Spring WebFlux on Java 20

See gh-29249
Closes gh-30896
This commit is contained in:
Johnny Lim 2023-07-15 18:42:51 +09:00 committed by Sam Brannen
parent 63fe45d92a
commit be8bfad3af
1 changed files with 2 additions and 2 deletions

View File

@ -33,14 +33,14 @@ import org.springframework.web.testfixture.http.server.reactive.MockServerHttpRe
import org.springframework.web.testfixture.server.MockServerWebExchange;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.condition.JRE.JAVA_20;
import static org.junit.jupiter.api.condition.JRE.JAVA_21;
/**
* Unit tests for Kotlin script templates running on Kotlin JSR-223 support.
*
* @author Sebastien Deleuze
*/
@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet")
@DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet")
public class KotlinScriptTemplateTests {
@Test