You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2019/09/23 17:23:12 UTC
[johnzon] branch master updated: JOHNZON-272 Fails to build Johnzon
:: Maven Plugin
This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git
The following commit(s) were added to refs/heads/master by this push:
new 4540801 JOHNZON-272 Fails to build Johnzon :: Maven Plugin
4540801 is described below
commit 45408012b5ded708134d6e43ae587d0645b64f37
Author: Markus KARG <ma...@headcrashing.eu>
AuthorDate: Mon Sep 23 18:43:19 2019 +0200
JOHNZON-272 Fails to build Johnzon :: Maven Plugin
Signed-off-by: Markus KARG <ma...@headcrashing.eu>
---
.../java/org/apache/johnzon/maven/plugin/ExampleToModelMojoTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/johnzon-maven-plugin/src/test/java/org/apache/johnzon/maven/plugin/ExampleToModelMojoTest.java b/johnzon-maven-plugin/src/test/java/org/apache/johnzon/maven/plugin/ExampleToModelMojoTest.java
index d0e89e1..899b620 100644
--- a/johnzon-maven-plugin/src/test/java/org/apache/johnzon/maven/plugin/ExampleToModelMojoTest.java
+++ b/johnzon-maven-plugin/src/test/java/org/apache/johnzon/maven/plugin/ExampleToModelMojoTest.java
@@ -111,7 +111,7 @@ public class ExampleToModelMojoTest {
final File output = new File(targetFolder, "org/test/apache/johnzon/mojo/SomeValue.java");
assertTrue(output.isFile());
assertEquals(
- new String(IOUtil.toByteArray(Thread.currentThread().getContextClassLoader().getResourceAsStream("SomeValue.java"))),
+ new String(IOUtil.toByteArray(Thread.currentThread().getContextClassLoader().getResourceAsStream("SomeValue.java"))).replace("\r\n", "\n"),
new String(IOUtil.toByteArray(new FileReader(output))).replace(File.separatorChar, '/'));
}
}