Fix missing space in assertion message

master
Esko Luontola 9 years ago committed by Rossen Stoyanchev
parent 4297612e4c
commit 89c1674b89
  1. 2
      spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java

@ -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…
Cancel
Save