Skip to content

.Should().Equal(...) enumerates the collection multiple times #437

@thomaslevesque

Description

@thomaslevesque

Similar to #124

I tried to upgrade the tests of my Linq.Extras library to the latest version of FluentAssertions, and suddenly many tests started breaking. Apparently a change introduced in 4.3.0 caused FA to enumerate the collection multiple times. Since I wrap my collections specifically to ensure that they're enumerated only once (see #124 for details), the tests break...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions