Skip to content

Commit 611447c

Browse files
committed
Fix checkstyle issue caused by polish commit
See gh-22946
1 parent 38db582 commit 611447c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,8 @@ void overrideConfigLocation() {
163163
@Test
164164
void overrideConfigDoesNotExist() {
165165
addPropertiesToEnvironment(this.context, "logging.config=doesnotexist.xml");
166-
assertThatIllegalStateException().isThrownBy(() -> {
167-
this.initializer.initialize(this.context.getEnvironment(), this.context.getClassLoader());
168-
});
166+
assertThatIllegalStateException().isThrownBy(
167+
() -> this.initializer.initialize(this.context.getEnvironment(), this.context.getClassLoader()));
169168
assertThat(this.output)
170169
.contains("Logging system failed to initialize using configuration from 'doesnotexist.xml'")
171170
.doesNotContain("JoranException");

0 commit comments

Comments
 (0)