From 624f997379a27f38832b4b22ef5e4d31385c6daf Mon Sep 17 00:00:00 2001 From: Corey McGregor Date: Tue, 11 Feb 2020 09:21:15 +1000 Subject: [PATCH] fix(suite): Add Fatalf method to suite.TestingT for gomock compatibility --- suite/suite.go | 1 + 1 file changed, 1 insertion(+) diff --git a/suite/suite.go b/suite/suite.go index 6eaaed1..d05ec59 100644 --- a/suite/suite.go +++ b/suite/suite.go @@ -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{})