You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AbstractJsonContentAssert is currently a AbstractStringAssert which means that satisfies run on the raw String. So we can't write something like assertThat(json).satisfies(content -> assertThat(content)....
Besides, being a AbstractStringAssert means we have the regular isEqualTo that takes a String and doesn't have the semantic of checking if the string ends with .json to load a file. It would be much less confusing if we stop inheriting from all these methods.
Perhaps an asJsonString could help getting back the raw text if that's really necessary down the road.
The text was updated successfully, but these errors were encountered:
AbstractJsonContentAssert
is currently aAbstractStringAssert
which means thatsatisfies
run on the rawString
. So we can't write something likeassertThat(json).satisfies(content -> assertThat(content)...
.Besides, being a
AbstractStringAssert
means we have the regularisEqualTo
that takes aString
and doesn't have the semantic of checking if the string ends with.json
to load a file. It would be much less confusing if we stop inheriting from all these methods.Perhaps an
asJsonString
could help getting back the raw text if that's really necessary down the road.The text was updated successfully, but these errors were encountered: