Skip to content

Expand ExpectedMessage wildcard hint to Should-Throw #2968

Closed

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)

Activity

  1. added this to the 6.1.0 milestone on Aug 7, 2026
  2. added a commit that references this issue on Aug 11, 2026
    f3e9149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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