Polish assertion msgs in JsonPathExpectationsHelper

This commit is contained in:
Sam Brannen
2015-08-14 17:52:16 +02:00
parent af8d9eab59
commit d2503340e7
2 changed files with 11 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ public class JsonPathExpectationsHelperTests {
@Test
public void assertValueWithDifferentExpectedType() throws Exception {
exception.expect(AssertionError.class);
exception.expectMessage(equalTo("For JSON path \"$.nr\", type of value expected:<java.lang.String> but was:<java.lang.Integer>"));
exception.expectMessage(equalTo("At JSON path \"$.nr\", type of value expected:<java.lang.String> but was:<java.lang.Integer>"));
new JsonPathExpectationsHelper("$.nr").assertValue(CONTENT, "5");
}