Skip to content

Commit

Permalink
fix(suite): Add Fatalf method to suite.TestingT for gomock compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
shousper authored and boyan-soubachov committed Feb 18, 2020
1 parent 5d2970f commit 624f997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions suite/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down

1 comment on commit 624f997

@boyan-soubachov
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shousper , do you mind adding gomock to the interface test for TestingT?

Please sign in to comment.