mirror of https://github.com/stretchr/testify.git
fix(suite): Add Fatalf method to suite.TestingT for gomock compatibility
parent
5d2970ff94
commit
624f997379
|
@ -20,6 +20,7 @@ var matchMethod = flag.String("testify.m", "", "regular expression to select tes
|
||||||
type TestingT interface {
|
type TestingT interface {
|
||||||
Run(name string, f func(t *testing.T)) bool
|
Run(name string, f func(t *testing.T)) bool
|
||||||
Errorf(format string, args ...interface{})
|
Errorf(format string, args ...interface{})
|
||||||
|
Fatalf(format string, args ...interface{})
|
||||||
FailNow()
|
FailNow()
|
||||||
Log(args ...interface{})
|
Log(args ...interface{})
|
||||||
Logf(format string, args ...interface{})
|
Logf(format string, args ...interface{})
|
||||||
|
|
Loading…
Reference in New Issue