-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
Equivalency of multidimensional arrays with zero size width #1167
Labels
Comments
Defintiely a bug. |
jnyrup
added a commit
to jnyrup/fluentassertions
that referenced
this issue
Oct 25, 2019
When comparing multi-dimensional `Array`s using `BeEquivalentTo` we weren't handling the case of empty `Array`s, which threw an `IndexOutOfRangeException` when it tried to get an element. This fixes fluentassertions#1167
jnyrup
added a commit
to jnyrup/fluentassertions
that referenced
this issue
Oct 25, 2019
When comparing multi-dimensional `Array`s using `BeEquivalentTo` we weren't handling the case of empty `Array`s, which threw an `IndexOutOfRangeException` when it tried to get an element. This fixes fluentassertions#1167
jnyrup
added a commit
to jnyrup/fluentassertions
that referenced
this issue
Oct 26, 2019
When comparing multi-dimensional `Array`s using `BeEquivalentTo` we weren't handling the case of empty `Array`s, which threw an `IndexOutOfRangeException` when it tried to get an element. This fixes fluentassertions#1167
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following code throws an exception (
System.IndexOutOfRangeException : Index was outside the bounds of the array.
):I'd expect
a
to be equivalent tob
.I'm using version 5.9.0 of FluentAssertions.
The text was updated successfully, but these errors were encountered: