Fix Windows path test failure
See gh-45398
This commit is contained in:
@@ -159,7 +159,7 @@ class Log4J2LoggingSystemTests extends AbstractLoggingSystemTests {
|
||||
Configuration configuration = this.loggingSystem.getConfiguration();
|
||||
assertThat(output).contains("Hello world").doesNotContain("Hidden");
|
||||
assertThat(new File(tmpDir() + "/spring.log")).exists();
|
||||
assertThat(configuration.getConfigurationSource().getLocation()).contains("/log4j2-file.xml");
|
||||
assertThat(configuration.getConfigurationSource().getLocation()).contains("log4j2-file.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user