Skip to content

x.Should().ContainEquivalentOf(x) returns false #2260

@ERGeorgiev

Description

@ERGeorgiev

Description

Testing if an enumerable contains the equivalent of itself does not pass.

Reproduction Steps

var test = new List<string>() { "test" };
test.Should().ContainEquivalentOf(test);

Expected behavior

It should pass.

Actual behavior

It does not pass.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

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