Skip to content

Commit ae76779

Browse files
committed
Fix Windows path test failure
See gh-45398
1 parent ba65397 commit ae76779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void withFile(CapturedOutput output) {
159159
Configuration configuration = this.loggingSystem.getConfiguration();
160160
assertThat(output).contains("Hello world").doesNotContain("Hidden");
161161
assertThat(new File(tmpDir() + "/spring.log")).exists();
162-
assertThat(configuration.getConfigurationSource().getLocation()).contains("/log4j2-file.xml");
162+
assertThat(configuration.getConfigurationSource().getLocation()).contains("log4j2-file.xml");
163163
}
164164

165165
@Test

0 commit comments

Comments
 (0)