The following test should fail because the second collection has fewer elements than the first, but it doesn't
[Test]
public void CollectionAssertions_Equal_should_fail_when_collections_have_different_numbers_of_elements()
{
Action action = () => (new[] {"a", "b", "c", "d"}).Should().Equal(new[] {"a", "b", "c",});
action.ShouldThrow<AssertionException>();
}
[Test]
public void CollectionAssertions_Equal_should_fail_when_collections_have_different_numbers_of_elements()
{
Action action = () => (new[] {"a", "b", "c", "d"}).Should().Equal(new[] {"a", "b", "c",});
action.ShouldThrow<AssertionException>();
}