Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ContainAny verification extension methods for IEnumerable<T> #712

Closed
YevgeniyShunevych opened this issue Dec 1, 2022 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

YevgeniyShunevych commented Dec 1, 2022

Verifies that collection contains any of the expected items.

Usage

page.SomeStringList.Should.ContainAny("A", "B");

new[] { 1, 2, 3 }.ToSubject()
    .Should.ContainAny(2, 5);
@YevgeniyShunevych YevgeniyShunevych added this to the 2.5.0 milestone Dec 1, 2022
@YevgeniyShunevych YevgeniyShunevych self-assigned this Dec 1, 2022
YevgeniyShunevych added a commit that referenced this issue Dec 1, 2022
…ificationProviderExtensionMethodTests` functionality and tests
@YevgeniyShunevych YevgeniyShunevych changed the title Add ContainAny verification extension methods Add ContainAny enumerable verification extension methods Dec 1, 2022
@YevgeniyShunevych YevgeniyShunevych changed the title Add ContainAny enumerable verification extension methods Add ContainAny verification extension methods for IEnumerable<T> Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant