Closed
Description
There's already common function types for the following assertion groups:
assert.BoolAssertionFunc
assert.ComparisonAssertionFunc
assert.ErrorAssertionFunc
assert.ValueAssertionFunc
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
Labels
No labels