See gh-14621
This commit is contained in:
Johnny Lim
2018-09-27 15:46:13 +09:00
committed by Stephane Nicoll
parent da1fde6a5f
commit 1eca492c5e
12 changed files with 41 additions and 47 deletions

View File

@@ -7665,11 +7665,11 @@ to print the report in auto-configuration tests.
@Test
public void autoConfigTest {
ConditionEvaluationReportLoggingListener initializer = new ConditionEvaluationReportLoggingListener(
LogLevel.INFO);
ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withInitializer(initializer).run((context -> {
// Do something...
}));
LogLevel.INFO);
ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withInitializer(initializer).run((context) -> {
// Do something...
});
}
----