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

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new e8c339cf1b test: fix expected failure message after jackson upgrade
e8c339cf1b is described below

commit e8c339cf1be47b9d9458ac0cebd933e7f909dd52
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Thu Oct 30 15:12:11 2025 +0300

    test: fix expected failure message after jackson upgrade
    
    Previoulsy the reported column was wrong, so the expected message was wrong 
as well.
---
 .../org/apache/jmeter/assertions/jmespath/TestJMESPathAssertion.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/components/src/test/java/org/apache/jmeter/assertions/jmespath/TestJMESPathAssertion.java
 
b/src/components/src/test/java/org/apache/jmeter/assertions/jmespath/TestJMESPathAssertion.java
index 2e38339eaa..a5025d0019 100644
--- 
a/src/components/src/test/java/org/apache/jmeter/assertions/jmespath/TestJMESPathAssertion.java
+++ 
b/src/components/src/test/java/org/apache/jmeter/assertions/jmespath/TestJMESPathAssertion.java
@@ -105,7 +105,7 @@ class TestJMESPathAssertion {
                 Arguments.of(InvertType.USE_NO_INVERT, "{'one': '1'}", "one", 
ValidationType.USE_VALIDATION,
                         ComparisonType.USE_NO_REXEG, 
ResultNullity.EXPECT_NOT_NULL, "2", ResultType.ERROR,
                         "Unexpected character (''' (code 39)): was expecting 
double-quote to start field name\n at"
-                                + " [Source: (String)\"{'one': '1'}\"; line: 
1, column: 3]"),
+                                + " [Source: (String)\"{'one': '1'}\"; line: 
1, column: 2]"),
                 Arguments.of(InvertType.USE_NO_INVERT, "{\"one\": \"\"}", 
"one", ValidationType.USE_VALIDATION,
                         ComparisonType.USE_NO_REXEG, 
ResultNullity.EXPECT_NOT_NULL, "1", ResultType.FAILURE,
                         "Value expected to be equal to 1"),

Reply via email to