This is an automated email from the ASF dual-hosted git repository.
fschumacher 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 b953b45 Line too long
b953b45 is described below
commit b953b45099351cc13e0a07afe0c8ba43fc420f10
Author: Felix Schumacher <[email protected]>
AuthorDate: Wed Jan 19 19:58:37 2022 +0100
Line too long
Bugzilla Id: 65794
---
.../src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/src/components/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java
b/src/components/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java
index 91325dc..98aeca6 100644
---
a/src/components/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java
+++
b/src/components/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java
@@ -115,7 +115,8 @@ public class JSONPathAssertion extends AbstractTestElement
implements Serializab
if (value instanceof JSONArray) {
JSONArray arrayValue = (JSONArray) value;
if (arrayValue.isEmpty() &&
!JsonPath.isPathDefinite(getJsonPath())) {
- throw new IllegalStateException("JSONPath is indefinite
and the extracted Value is an empty Array. Please use an assertion value, to be
sure to get a correct result. " + getExpectedValue());
+ throw new IllegalStateException("JSONPath is indefinite
and the extracted Value is an empty Array." +
+ " Please use an assertion value, to be sure to get
a correct result. " + getExpectedValue());
}
}
return;