This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 15d3cbb  Fix test on Windows.
15d3cbb is described below

commit 15d3cbbd885347670a0175e512a362b02e4d7d1f
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jan 4 18:08:34 2022 -0500

    Fix test on Windows.
---
 .../test/java/org/apache/log4j/config/PropertiesConfigurationTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
 
b/log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
index 5ae781a..29ef8f2 100644
--- 
a/log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
+++ 
b/log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
@@ -135,7 +135,7 @@ public class PropertiesConfigurationTest {
             assertTrue(appender instanceof FileAppender);
             final FileAppender fileAppender = (FileAppender) appender;
             // Two slashes because that's how the config file is setup.
-            assertEquals(SystemUtils.getJavaIoTmpDir() + "//hadoop.log", 
fileAppender.getFileName());
+            assertEquals(SystemUtils.getJavaIoTmpDir() + File.separator + 
"/hadoop.log", fileAppender.getFileName());
         }
     }
 

Reply via email to