diff --git a/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java b/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java index 87608730ad..f8e303ce2b 100644 --- a/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java +++ b/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java @@ -101,7 +101,7 @@ public class JsonPathExpectationsHelper { assertEquals("For JSON path " + this.expression + " type of value", expectedValue.getClass(), actualValue.getClass()); } - assertEquals("JSON path" + this.expression, expectedValue, actualValue); + assertEquals("JSON path " + this.expression, expectedValue, actualValue); } /**