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 e38b5b3918f3a12376bfbe8db0c7a7459c810920 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 17:44:12 2026 +0000 (chores): ensure usage of text blocks components/camel-ai/camel-docling --- .../docling/integration/MetadataExtractionIT.java | 25 ++++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/MetadataExtractionIT.java b/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/MetadataExtractionIT.java index 5b051a62a91e..074f27b841bf 100644 --- a/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/MetadataExtractionIT.java +++ b/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/MetadataExtractionIT.java @@ -248,15 +248,22 @@ public class MetadataExtractionIT extends DoclingITestSupport { private Path createTestMarkdownFile() throws Exception { Path tempFile = Files.createTempFile("docling-metadata-test", ".md"); Files.write(tempFile, - ("# Test Document for Metadata Extraction\n\n" + - "This is a test document for metadata extraction.\n\n" + - "## Section 1\n\n" + - "Some content here.\n\n" + - "- List item 1\n" + - "- List item 2\n\n" + - "## Section 2\n\n" + - "More content with some **bold** text and *italic* text.\n") - .getBytes()); + """ + # Test Document for Metadata Extraction + + This is a test document for metadata extraction. + + ## Section 1 + + Some content here. + + - List item 1 + - List item 2 + + ## Section 2 + + More content with some **bold** text and *italic* text. + """.getBytes()); return tempFile; }
