This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 7579047667f CAMEL-20392: camel-jq - Inclined jq in simple language 
should keep quotes
7579047667f is described below

commit 7579047667f02b9446b33bcf6130f6aae4042d7a
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Feb 7 07:32:21 2024 +0100

    CAMEL-20392: camel-jq - Inclined jq in simple language should keep quotes
---
 .../test/java/org/apache/camel/language/jq/JqSimpleTransformTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-jq/src/test/java/org/apache/camel/language/jq/JqSimpleTransformTest.java
 
b/components/camel-jq/src/test/java/org/apache/camel/language/jq/JqSimpleTransformTest.java
index 46c94c7c7d2..5daeea8d3ff 100644
--- 
a/components/camel-jq/src/test/java/org/apache/camel/language/jq/JqSimpleTransformTest.java
+++ 
b/components/camel-jq/src/test/java/org/apache/camel/language/jq/JqSimpleTransformTest.java
@@ -38,7 +38,7 @@ public class JqSimpleTransformTest extends JqTestSupport {
                         .transform().simple("""
                                 {
                                   "roll": ${jq(.id)},
-                                  "country": "${jq(.country // 
constant('sweden'))}",
+                                  "country": "${jq(.country // 
constant(sweden))}",
                                   "fullname": "${jq(.name)}"
                                 }""")
                         .to("mock:result");

Reply via email to