I have the following situation:
string[] expected = null;
string[] result = null;
result.Should().Equal(expected) // Throws Exception
"Expected collection to be equal, but found <null>."
Since the result is equal to the expected, this should not throw an exception.
Comments: We'll include your Pull Request. We never ran into this ourselves because our collections are never allowed to be _null_ (because of our coding guidelines).
string[] expected = null;
string[] result = null;
result.Should().Equal(expected) // Throws Exception
"Expected collection to be equal, but found <null>."
Since the result is equal to the expected, this should not throw an exception.
Comments: We'll include your Pull Request. We never ran into this ourselves because our collections are never allowed to be _null_ (because of our coding guidelines).