Skip to content

Add async-support for Where()  #1352

@voroninp

Description

@voroninp

It looks like there is no counterpart of Where method to check exception properties for async delegates.

Would be nice to have an option to check exception properties:

await foo.Awaiting(_ => _.AsyncMethodThroingException())
                .Should().ThrowAsync<Exception>().Where(ex => ...);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions