mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
23014d97a2
commit
16b090c9bc
@ -64,7 +64,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
|
||||
context.refresh();
|
||||
withDebugLogging(() -> this.initializer
|
||||
.onApplicationEvent(new ContextRefreshedEvent(context)));
|
||||
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT");
|
||||
assertThat(this.outputCapture.toString())
|
||||
.contains("CONDITIONS EVALUATION REPORT");
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -81,7 +82,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
|
||||
() -> this.initializer.onApplicationEvent(new ApplicationFailedEvent(
|
||||
new SpringApplication(), new String[0], context, ex)));
|
||||
}
|
||||
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT");
|
||||
assertThat(this.outputCapture.toString())
|
||||
.contains("CONDITIONS EVALUATION REPORT");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user