You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2015/11/21 14:51:32 UTC
tomee git commit: It looks like the thirdparty tool uses \n as line
separator. This test fails on windows because the line endings won't be the
same -> "\n" != System.lineSeparator()
Repository: tomee
Updated Branches:
refs/heads/master 59e0ae9ee -> 6b440f5b0
It looks like the thirdparty tool uses \n as line separator. This test fails on windows because the line endings won't be the same -> "\n" != System.lineSeparator()
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6b440f5b
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6b440f5b
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6b440f5b
Branch: refs/heads/master
Commit: 6b440f5b0d6b59e10836a3649c494dffd7853df1
Parents: 59e0ae9
Author: Thiago Veronezi <th...@veronezi.org>
Authored: Sat Nov 21 08:51:26 2015 -0500
Committer: Thiago Veronezi <th...@veronezi.org>
Committed: Sat Nov 21 08:51:26 2015 -0500
----------------------------------------------------------------------
.../java/org/apache/openejb/maven/util/XmlFormatterTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/6b440f5b/maven/maven-util/src/test/java/org/apache/openejb/maven/util/XmlFormatterTest.java
----------------------------------------------------------------------
diff --git a/maven/maven-util/src/test/java/org/apache/openejb/maven/util/XmlFormatterTest.java b/maven/maven-util/src/test/java/org/apache/openejb/maven/util/XmlFormatterTest.java
index 1b372ca..c7615bc 100644
--- a/maven/maven-util/src/test/java/org/apache/openejb/maven/util/XmlFormatterTest.java
+++ b/maven/maven-util/src/test/java/org/apache/openejb/maven/util/XmlFormatterTest.java
@@ -24,9 +24,9 @@ public class XmlFormatterTest {
@Test
public void format() {
assertEquals(
- "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + System.lineSeparator() +
- "<root>" + System.lineSeparator() +
- " <foo id=\"bar\"/>" + System.lineSeparator() +
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
+ "<root>\n" +
+ " <foo id=\"bar\"/>\n" +
"</root>\n",
XmlFormatter.format("<root><foo id=\"bar\"/></root>"));
}