Skip to content

Commit

Permalink
Change type
Browse files Browse the repository at this point in the history
  • Loading branch information
fahimbagar committed Mar 5, 2024
1 parent 0e5fddb commit 2ab33d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assert/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2794,7 +2794,7 @@ func ExamplePanicAssertionFunc() {

tests := []struct {
name string
panicFn func()
panicFn PanicTestFunc
assertion PanicAssertionFunc
}{
{"with panic", func() { panic(nil) }, Panics},
Expand All @@ -2811,7 +2811,7 @@ func ExamplePanicAssertionFunc() {
func TestPanicAssertionFunc(t *testing.T) {
tests := []struct {
name string
panicFn func()
panicFn PanicTestFunc
assertion PanicAssertionFunc
}{
{"not panic", func() {}, NotPanics},
Expand Down

0 comments on commit 2ab33d6

Please sign in to comment.