Skip to content

Add missing extensions for ThrowAsync #1400

@fbrosseau

Description

@fbrosseau

Hello, thanks for the great project!

This is identical to #1052 - Add async-support for WithMessage()
Which added an extension on the Task<..Assertion> itself for WithMessage

Can I submit a PR for the other 3 ExceptionAssertion methods, so that parentheses around the whole await expression are not required?

Namely,
-WithInnerException
-WithInnerExceptionExactly
-Where

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