Use isTrue() and isFalse() for AssertJ
Closes gh-12170
This commit is contained in:
committed by
Stephane Nicoll
parent
865775e955
commit
2fe86da95b
@@ -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