Skip to content

Commit 624f997

Browse files
shousperboyan-soubachov
authored andcommitted
fix(suite): Add Fatalf method to suite.TestingT for gomock compatibility
1 parent 5d2970f commit 624f997

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

suite/suite.go

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var matchMethod = flag.String("testify.m", "", "regular expression to select tes
2020
type TestingT interface {
2121
Run(name string, f func(t *testing.T)) bool
2222
Errorf(format string, args ...interface{})
23+
Fatalf(format string, args ...interface{})
2324
FailNow()
2425
Log(args ...interface{})
2526
Logf(format string, args ...interface{})

0 commit comments

Comments
 (0)