mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Delete failing Freemarker test
This test was already ignored as of Java 21 because of a Java behavior change, and now it started failing as of 17.0.14. This commit removes the test entirely.
This commit is contained in:
-8
@@ -31,8 +31,6 @@ import jakarta.servlet.ServletException;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledForJreRange;
|
||||
import org.junit.jupiter.api.condition.JRE;
|
||||
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
@@ -147,12 +145,6 @@ public class FreeMarkerMacroTests {
|
||||
assertThat(getMacroOutput("NAME")).isEqualTo("Darren");
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisabledForJreRange(min = JRE.JAVA_21)
|
||||
public void testAge() throws Exception {
|
||||
assertThat(getMacroOutput("AGE")).isEqualTo("99");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testMessage() throws Exception {
|
||||
assertThat(getMacroOutput("MESSAGE")).isEqualTo("Howdy Mundo");
|
||||
|
||||
Reference in New Issue
Block a user