Skip to content

Conversation

@jnyrup
Copy link
Member

@jnyrup jnyrup commented Oct 25, 2019

When comparing multi-dimensional Arrays using BeEquivalentTo
we weren't handling the case of empty Arrays, which threw an
IndexOutOfRangeException when it tried to get an element.
This fixes #1167

@jnyrup
Copy link
Member Author

jnyrup commented Oct 25, 2019

The failing test is When_the_execution_time_of_an_async_action_is_less_than_a_limit_it_should_not_throw...

@dennisdoomen
Copy link
Member

The failing test is When_the_execution_time_of_an_async_action_is_less_than_a_limit_it_should_not_throw...

Sigh. I thought we fixed this by now.

@jnyrup
Copy link
Member Author

jnyrup commented Oct 26, 2019

ExecutionTime() #1085 is the missing timing assertion to be fixed.

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 jnyrup force-pushed the EmptyMultidimensionalArrays branch from f27fda9 to 78dc823 Compare October 26, 2019 14:26
@jnyrup jnyrup merged commit 302c859 into fluentassertions:master Oct 26, 2019
@jnyrup jnyrup deleted the EmptyMultidimensionalArrays branch October 26, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Equivalency of multidimensional arrays with zero size width

2 participants