Skip to content

Add PanicAssertionFunc #730

Closed
Closed
@palsivertsen

Description

@palsivertsen

There's already common function types for the following assertion groups:

These are very useful for doing table driven tests, but seems like there's no PanicAssertionFunc. It could look like this:

type PanicAssertionFunc func(t assert.TestingT, f assert.PanicTestFunc, msgAndArgs ...interface{}) bool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions