This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5a5d138b7dc08b8ac72afc67380ec09727556709 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:27:23 2026 +0000 (chores): ensure usage of text blocks components/camel-chunk --- .../java/org/apache/camel/component/chunk/ChunkLetterTest.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/components/camel-chunk/src/test/java/org/apache/camel/component/chunk/ChunkLetterTest.java b/components/camel-chunk/src/test/java/org/apache/camel/component/chunk/ChunkLetterTest.java index c358284b890c..989fe8de661d 100644 --- a/components/camel-chunk/src/test/java/org/apache/camel/component/chunk/ChunkLetterTest.java +++ b/components/camel-chunk/src/test/java/org/apache/camel/component/chunk/ChunkLetterTest.java @@ -44,8 +44,14 @@ public class ChunkLetterTest extends CamelTestSupport { void testChunkLetter() throws Exception { MockEndpoint mock = getMockEndpoint("mock:result"); mock.expectedMessageCount(1); - mock.expectedBodiesReceived("Dear Ibsen, Claus\n\nThanks for the order of Camel in Action." - + "\n\nRegards Camel Riders Bookstore\nPS: Next beer is on me, James\n"); + mock.expectedBodiesReceived(""" + Dear Ibsen, Claus + + Thanks for the order of Camel in Action. + + Regards Camel Riders Bookstore + PS: Next beer is on me, James + """); template.send("direct:a", createLetter());
