Skip to content

StringCollectionAssertions missing SatisfyRespectively GenericCollectionAssertions #1188

@robhol

Description

@robhol

Description

GenericCollectionAssertions has SatisfyRespectively, which is not present in the more specialized StringCollectionAssertions - I would expect more specialized Assertions classes to add, but not remove functionality.

Seems like it could've happened elsewhere, but I don't have the time to track down any other instances.

Complete minimal example reproducing the issue

new object[] { }.Should().SatisfyRespectively(x => { }); //Should() is GenericCollectionAssertions
new string[] { }.Should().SatisfyRespectively(...) // does not exist, Should() is StringCollectionAssertions

Versions

  • Which version of Fluent Assertions are you using?
    5.9.0

  • Which .NET runtime and version are you targeting? E.g. .NET framework 4.6.1 or .NET Core 2.0.
    .NET Core 2.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions