mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-07 17:59:02 +00:00
Use isTrue() and isFalse() for AssertJ
Closes gh-12170
This commit is contained in:
committed by
Stephane Nicoll
parent
865775e955
commit
2fe86da95b
+1
-1
@@ -246,7 +246,7 @@ public class LocalDevToolsAutoConfigurationTests {
|
||||
StandardWrapper jspServletWrapper = (StandardWrapper) context.findChild("jsp");
|
||||
EmbeddedServletOptions options = (EmbeddedServletOptions) ReflectionTestUtils
|
||||
.getField(jspServletWrapper.getServlet(), "options");
|
||||
assertThat(options.getDevelopment()).isEqualTo(true);
|
||||
assertThat(options.getDevelopment()).isTrue();
|
||||
}
|
||||
|
||||
private ConfigurableApplicationContext initializeAndRun(Class<?> config,
|
||||
|
||||
Reference in New Issue
Block a user