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 a6e7566f35babdfa9d54bfbd3b9910a3b50279d8
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jan 26 20:34:36 2026 +0000

    (chores): ensure usage of text blocks camel-kubernetes
---
 .../KubernetesCustomResourcesConsumerIT.java        | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/integration/KubernetesCustomResourcesConsumerIT.java
 
b/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/integration/KubernetesCustomResourcesConsumerIT.java
index a4cc1302e22a..a51fc87178dc 100644
--- 
a/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/integration/KubernetesCustomResourcesConsumerIT.java
+++ 
b/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/integration/KubernetesCustomResourcesConsumerIT.java
@@ -55,16 +55,17 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class KubernetesCustomResourcesConsumerIT extends KubernetesTestSupport 
{
 
     private static final KubernetesClient CLIENT = new 
KubernetesClientBuilder().build();
-    private static final String CRD_SOURCE_STRING = "{\n" +
-                                                    "  \"apiVersion\": 
\"camel.apache.org/v1\",\n" +
-                                                    "  \"kind\": 
\"CamelTest\",\n" +
-                                                    "  \"metadata\": {\n" +
-                                                    "    \"name\": 
\"camel-crd-itest\"\n" +
-                                                    "  },\n" +
-                                                    "  \"spec\": {\n" +
-                                                    "    \"message\": \"Apache 
Camel Rocks!\"\n" +
-                                                    "  }\n" +
-                                                    "}";
+    private static final String CRD_SOURCE_STRING = """
+            {
+              "apiVersion": "camel.apache.org/v1",
+              "kind": "CamelTest",
+              "metadata": {
+                "name": "camel-crd-itest"
+              },
+              "spec": {
+                "message": "Apache Camel Rocks!"
+              }
+            }""";
     private static CustomResourceDefinition crd;
 
     @EndpointInject("mock:result")

Reply via email to