fix(suite): Add Fatalf method to suite.TestingT for gomock compatibility

pull/894/head v1.5.0
Corey McGregor 2020-02-11 09:21:15 +10:00 committed by Boyan Soubachov
parent 5d2970ff94
commit 624f997379
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ var matchMethod = flag.String("testify.m", "", "regular expression to select tes
type TestingT interface {
Run(name string, f func(t *testing.T)) bool
Errorf(format string, args ...interface{})
Fatalf(format string, args ...interface{})
FailNow()
Log(args ...interface{})
Logf(format string, args ...interface{})