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
We have many tests dealing with large arrays, but it can be difficult to determine the reason for the failure with the current array matcher messages.
Would you be open to adding an additional diff section to the array failure messages. I'd be happy to create the PR implementing it.
Possible solution:
I'd imagine it'd be something like this.
Expected list to have all of the following members:
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, …]
Received:
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, …]
Diff:
Received is missing: [12, 14, 16]
Received includes: [13, 15, 17]
The text was updated successfully, but these errors were encountered:
Feature Request
Description:
We have many tests dealing with large arrays, but it can be difficult to determine the reason for the failure with the current array matcher messages.
Would you be open to adding an additional diff section to the array failure messages. I'd be happy to create the PR implementing it.
Possible solution:
I'd imagine it'd be something like this.
The text was updated successfully, but these errors were encountered: