You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by co...@apache.org on 2018/07/03 10:06:31 UTC
[camel] branch master updated: Fixing failing
RestDslXmlGeneratorTest on JDK-9
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 9e8bdc6 Fixing failing RestDslXmlGeneratorTest on JDK-9
9e8bdc6 is described below
commit 9e8bdc67b5157edca13595d9e36f5b62567a9c2e
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Jul 3 11:06:14 2018 +0100
Fixing failing RestDslXmlGeneratorTest on JDK-9
---
.../org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
index fed3779..b29fd8f 100644
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
+++ b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
@@ -60,7 +60,7 @@ public class RestDslXmlGeneratorTest {
final URI file = RestDslGeneratorTest.class.getResource("/SwaggerPetstoreXml.txt").toURI();
final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
- assertThat(xml).isEqualTo(expectedContent);
+ assertThat(xml).isEqualToIgnoringWhitespace(expectedContent);
}