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
As of 4.3, we're exposing ObjectUtils.nullSafeToString results there, in sync with the ObjectUtils.nullSafeEquals check for the actual comparison: For arrays, that implies a list-like representation of the elements.
James Howe opened SPR-14281 and commented
This request matcher uses
assertEquals
instead of something like JUnit'sassertArrayEquals
.Because of this, the output on failure is
Instead of showing the actual difference between the arrays.
Reference URL: https://github.com/spring-projects/spring-framework/blob/master/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java#L141
Referenced from: commits 822e40e
The text was updated successfully, but these errors were encountered: