adjust CAMEL-10070's test to use the matching quote character

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/33048a86
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/33048a86
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/33048a86

Branch: refs/heads/camel-2.17.x
Commit: 33048a86afc6fda76d9103759cea1cb8f66c3040
Parents: 04c2bf3
Author: Akitoshi Yoshida <a...@apache.org>
Authored: Sat Jun 18 20:57:40 2016 +0200
Committer: Akitoshi Yoshida <a...@apache.org>
Committed: Mon Jun 20 09:52:37 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/converter/jaxp/StaxConverterTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/33048a86/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
 
b/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
index 632494d..9a71bc1 100644
--- 
a/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
@@ -54,7 +54,8 @@ public class StaxConverterTest extends ContextTestSupport {
 
     static {
         StringBuilder sb = new StringBuilder(7000);
-        sb.append("<?xml version=\"1.0\" 
encoding=\"utf-8\"?>").append("<list>");
+        // using quote character to make the plain characters comparison work 
with the generated xml
+        sb.append("<?xml version='1.0' encoding='utf-8'?>").append("<list>");
         int n = 6963 - TEST_XML.length();
         while (n > 0) {
             sb.append(TEST_XML);

Reply via email to