Closed orangain closed 1 year ago
Empty object literal must not match non-object values.
All the of following assertions fail.
JsonStringAssert.assertThat("[]").jsonMatches("{}") JsonStringAssert.assertThat("0").jsonMatches("{}") JsonStringAssert.assertThat("\"foo\"").jsonMatches("{}") JsonStringAssert.assertThat("null").jsonMatches("{}")
All of the following assertions succeed.
Empty object literal must not match non-object values.
Environment
Expected behavior
All the of following assertions fail.
Actual behavior
All of the following assertions succeed.