Update README.md
This commit is contained in:
@@ -36,7 +36,7 @@ JsonAssert.assertThat(JSON).field("bigdecimal").asBigDecimal().isEqualTo(BigDeci
|
||||
JsonAssert.assertThat(JSON).field("myprop").matches("foo.*")
|
||||
|
||||
// Assert first property in Object matches
|
||||
JsonAssert.assertThat(JSON).firstField("lastProp").isEqualTo(1);
|
||||
JsonAssert.assertThat(JSON).firstField("firstProp").isEqualTo(1);
|
||||
|
||||
// Assert last property in Object matches
|
||||
JsonAssert.assertThat(JSON).lastField("lastProp").isEqualTo(3);
|
||||
|
||||
Reference in New Issue
Block a user