Skip to content

Expand ExpectedMessage wildcard hint to Should-Throw #2968

Description

@fflaten

We need the same for Should-Throw. Maybe make Hint a optional parameter in Fail so we can override the default Get-AssertionGotcha in special cases like this.

Originally posted by @fflaten in #2956 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions