Fix missing space in assertion message
This commit is contained in:
parent
4297612e4c
commit
89c1674b89
|
|
@ -89,7 +89,7 @@ public class JsonPathExpectationsHelper {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public <T> void assertValue(String content, Matcher<T> matcher) throws ParseException {
|
public <T> void assertValue(String content, Matcher<T> matcher) throws ParseException {
|
||||||
T value = (T) evaluateJsonPath(content);
|
T value = (T) evaluateJsonPath(content);
|
||||||
assertThat("JSON path" + this.expression, value, matcher);
|
assertThat("JSON path " + this.expression, value, matcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Object evaluateJsonPath(String content) throws ParseException {
|
private Object evaluateJsonPath(String content) throws ParseException {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue