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 e217cb63f4d6c60a129732fbb6ef8fb6bead5ac8 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 17:31:21 2026 +0000 (chores): ensure usage of text blocks catalog/camel-report-maven-plugin --- .../htmlxlsx/process/TemplateRendererTest.java | 51 +++++++++++----------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/catalog/camel-report-maven-plugin/src/test/java/org/apache/camel/maven/htmlxlsx/process/TemplateRendererTest.java b/catalog/camel-report-maven-plugin/src/test/java/org/apache/camel/maven/htmlxlsx/process/TemplateRendererTest.java index 5474e5431fd9..d758c6520c29 100644 --- a/catalog/camel-report-maven-plugin/src/test/java/org/apache/camel/maven/htmlxlsx/process/TemplateRendererTest.java +++ b/catalog/camel-report-maven-plugin/src/test/java/org/apache/camel/maven/htmlxlsx/process/TemplateRendererTest.java @@ -25,31 +25,32 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; public class TemplateRendererTest { - private static final String EXPECTED = "<!--\n" + - "\n" + - " Licensed to the Apache Software Foundation (ASF) under one or more\n" + - " contributor license agreements. See the NOTICE file distributed with\n" + - " this work for additional information regarding copyright ownership.\n" + - " The ASF licenses this file to You under the Apache License, Version 2.0\n" + - " (the \"License\"); you may not use this file except in compliance with\n" + - " the License. You may obtain a copy of the License at\n" + - "\n" + - " http://www.apache.org/licenses/LICENSE-2.0\n" + - "\n" + - " Unless required by applicable law or agreed to in writing, software\n" + - " distributed under the License is distributed on an \"AS IS\" BASIS,\n" + - " WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" + - " See the License for the specific language governing permissions and\n" + - " limitations under the License.\n" + - "\n" + - "-->\n" + - "<!DOCTYPE html>\n" + - "<html lang=\"en\">\n" + - "\n" + - " <body>\n" + - " <h1>testRender</h1>\n" + - " </body>\n" + - "</html>"; + private static final String EXPECTED = """ + <!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + --> + <!DOCTYPE html> + <html lang="en"> + + <body> + <h1>testRender</h1> + </body> + </html>"""; @Test public void testTemplateRenderer() {
