mirror of
https://github.com/stretchr/testify.git
synced 2025-07-08 11:38:52 +00:00
When `len(actual) > len(expected)`, this for loop would cause a panic. Alternative to this implementation, there could be a check for `if len(actual) != len(expected)`, but generating a meaningful message describing that is already provided by `diff()`. So we defer to diff in every case. Fixes #393