camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ond...@apache.org
Subject camel git commit: CAMEL-11516 - fix test with system.property("line.separator")
Date Thu, 06 Jul 2017 21:31:27 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.19.x 2bef6f213 -> 09e8a0a8e


CAMEL-11516 - fix test with system.property("line.separator")


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

Branch: refs/heads/camel-2.19.x
Commit: 09e8a0a8e3cacc4a88f178ff855613633e708aa8
Parents: 2bef6f2
Author: onders86 <ondersezgin@gmail.com>
Authored: Thu Jul 6 07:44:22 2017 +0300
Committer: onders86 <ondersezgin@gmail.com>
Committed: Fri Jul 7 00:29:48 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/camel/blob/09e8a0a8/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java
b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java
index 350c519..5064671 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java
@@ -47,7 +47,7 @@ public class FtpConsumerFileSplitTest extends FtpServerTestSupport {
             public void configure() throws Exception {
                 from(getFtpUrl())
                     .to("log:file")
-                    .split(body().tokenize("\n"))
+                    .split(body().tokenize(System.getProperty("line.separator")))
                         .to("log:line")
                         .to("mock:result");
             }


Mime
View raw message