Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #803: improve error message for assertArrayEquals() when multi-dimensional arrays have different lengths #1054

Closed
wants to merge 2 commits into from
Closed

Fix for #803: improve error message for assertArrayEquals() when multi-dimensional arrays have different lengths #1054

wants to merge 2 commits into from

Commits on Dec 27, 2014

  1. Make clearer *which* (nested) arrays have unequal length.

    Previously, JUnit's assertion error message would indicate only that some array
    lengths x and y were unequal, without indicating whether this pertained to the
    outer array or some nested array. Now, in case of a length mismatch between two
    nested arrays, Junit will tell at which indices they reside.
    Stephan202 committed Dec 27, 2014
    Configuration menu
    Copy the full SHA
    ef34f49 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2014

  1. Incorporate feedback on PR #1054.

    - Added comments explaining edge cases.
    - Reworked assertion statements in new unit tests.
    Stephan202 committed Dec 28, 2014
    Configuration menu
    Copy the full SHA
    36edd32 View commit details
    Browse the repository at this point in the history