Skip to content

ErrorAs failure message is unclear with nil error #1733

@brackendawson

Description

@brackendawson

But now, I wonder if we shouldn't check other Error Asserters such as ErrorContains and ErrorAs.

The same check might need to be applied.

EDIT confirmed: ErrorAs has the same issue

https://go.dev/play/p/Re92KjYzoaE

Originally posted by @ccoVeille in #1681 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions