8000 Change type · stretchr/testify@2ab33d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ab33d6

Browse files
committed
Change type
1 parent 0e5fddb commit 2ab33d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assert/assertions_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,7 +2794,7 @@ func ExamplePanicAssertionFunc() {
27942794

27952795
tests := []struct {
27962796
name string
2797-
panicFn func()
2797+
panicFn PanicTestFunc
27982798
assertion PanicAssertionFunc
27992799
}{
28002800
{"with panic", func() { panic(nil) }, Panics},
@@ -2811,7 +2811,7 @@ func ExamplePanicAssertionFunc() {
28112811
func TestPanicAssertionFunc(t *testing.T) {
28122812
tests := []struct {
28132813
name string
2814-
panicFn func()
2814+
panicFn PanicTestFunc
28152815
assertion PanicAssertionFunc
28162816
}{
28172817
{"not panic", func() {}, NotPanics},

0 commit comments

Comments
 (0)
0