You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/04/14 03:24:05 UTC

camel git commit: Fixed the VelocityBodyAsDomainObjectTest in windows

Repository: camel
Updated Branches:
  refs/heads/master 727a3f7f1 -> 3542bb34f


Fixed the VelocityBodyAsDomainObjectTest in windows


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

Branch: refs/heads/master
Commit: 3542bb34fa3cb2070d96f3e9e01feca542dd85f3
Parents: 727a3f7
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Apr 14 09:23:53 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Apr 14 09:23:53 2015 +0800

----------------------------------------------------------------------
 .../camel/component/velocity/VelocityBodyAsDomainObjectTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3542bb34/components/camel-velocity/src/test/java/org/apache/camel/component/velocity/VelocityBodyAsDomainObjectTest.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/test/java/org/apache/camel/component/velocity/VelocityBodyAsDomainObjectTest.java b/components/camel-velocity/src/test/java/org/apache/camel/component/velocity/VelocityBodyAsDomainObjectTest.java
index 915fa20..87dc38a 100644
--- a/components/camel-velocity/src/test/java/org/apache/camel/component/velocity/VelocityBodyAsDomainObjectTest.java
+++ b/components/camel-velocity/src/test/java/org/apache/camel/component/velocity/VelocityBodyAsDomainObjectTest.java
@@ -30,7 +30,7 @@ public class VelocityBodyAsDomainObjectTest extends CamelTestSupport {
 
     @Test
     public void testWithObject() throws Exception {
-        String msg = String.format("Hi Claus how are you? Its a nice day.%sGive my regards to the family Ibsen.", LS);
+        String msg = String.format("Hi Claus how are you? Its a nice day.%sGive my regards to the family Ibsen.", "\n");
 
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);