We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0f4bc commit 8b93e11Copy full SHA for 8b93e11
assert/assertions.go
@@ -47,7 +47,7 @@ type ErrorAssertionFunc func(TestingT, error, ...interface{}) bool
47
48
// PanicAssertionFunc is a common function prototype when validating a panic value. Can be useful
49
// for table driven tests.
50
-type PanicAssertionFunc func(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) bool
+type PanicAssertionFunc = func(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) bool
51
52
// Comparison is a custom function that returns true on success and false on failure
53
type Comparison func() (success bool)
0 commit comments