@ -31,8 +31,6 @@ import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletResponse ;
import jakarta.servlet.http.HttpServletResponse ;
import org.junit.jupiter.api.BeforeEach ;
import org.junit.jupiter.api.BeforeEach ;
import org.junit.jupiter.api.Test ;
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.beans.testfixture.beans.TestBean ;
import org.springframework.core.io.ClassPathResource ;
import org.springframework.core.io.ClassPathResource ;
@ -146,12 +144,6 @@ public class FreeMarkerMacroTests {
assertThat ( getMacroOutput ( "NAME" ) ) . isEqualTo ( "Darren" ) ;
assertThat ( getMacroOutput ( "NAME" ) ) . isEqualTo ( "Darren" ) ;
}
}
@Test
@DisabledForJreRange ( min = JRE . JAVA_21 )
public void testAge ( ) throws Exception {
assertThat ( getMacroOutput ( "AGE" ) ) . isEqualTo ( "99" ) ;
}
@Test
@Test
void testMessage ( ) throws Exception {
void testMessage ( ) throws Exception {
assertThat ( getMacroOutput ( "MESSAGE" ) ) . isEqualTo ( "Howdy Mundo" ) ;
assertThat ( getMacroOutput ( "MESSAGE" ) ) . isEqualTo ( "Howdy Mundo" ) ;