You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/09/02 14:32:25 UTC

logging-log4j2 git commit: Hack the test for cross-platform usage.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master f44785b93 -> f8794cd4f


Hack the test for cross-platform usage.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/f8794cd4
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/f8794cd4
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/f8794cd4

Branch: refs/heads/master
Commit: f8794cd4f6866c4ddb79b3679a34f51b3c1229c7
Parents: f44785b
Author: ggregory <gg...@apache.org>
Authored: Fri Sep 2 07:32:20 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Fri Sep 2 07:32:20 2016 -0700

----------------------------------------------------------------------
 .../log4j/core/config/builder/ConfigurationBuilderTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f8794cd4/log4j-core/src/test/java/org/apache/logging/log4j/core/config/builder/ConfigurationBuilderTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/builder/ConfigurationBuilderTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/builder/ConfigurationBuilderTest.java
index 17f3737..12356c6 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/builder/ConfigurationBuilderTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/builder/ConfigurationBuilderTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
 
 public class ConfigurationBuilderTest {
 
-    private static final String EOL = System.lineSeparator();
+    private static final String EOL = "\n"; // HACK! System.lineSeparator();
 
     private void addTestFixtures(final String name, final ConfigurationBuilder<BuiltConfiguration> builder) {
         builder.setConfigurationName(name);