Enable KotlinScriptTemplateTests in Spring WebFlux on Java 20
See gh-29249 Closes gh-30896
This commit is contained in:
		
							parent
							
								
									63fe45d92a
								
							
						
					
					
						commit
						be8bfad3af
					
				| 
						 | 
					@ -33,14 +33,14 @@ import org.springframework.web.testfixture.http.server.reactive.MockServerHttpRe
 | 
				
			||||||
import org.springframework.web.testfixture.server.MockServerWebExchange;
 | 
					import org.springframework.web.testfixture.server.MockServerWebExchange;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import static org.assertj.core.api.Assertions.assertThat;
 | 
					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.
 | 
					 * Unit tests for Kotlin script templates running on Kotlin JSR-223 support.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @author Sebastien Deleuze
 | 
					 * @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 {
 | 
					public class KotlinScriptTemplateTests {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@Test
 | 
						@Test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue