mirror of https://github.com/stretchr/testify.git
mock/tests: add method Helper() to all mock of *testing.T
parent
da8268db44
commit
c2989f188b
|
@ -121,6 +121,9 @@ type MockTestingT struct {
|
|||
logfCount, errorfCount, failNowCount int
|
||||
}
|
||||
|
||||
// Helper is like [testing.T.Helper] but does nothing.
|
||||
func (MockTestingT) Helper() {}
|
||||
|
||||
const mockTestingTFailNowCalled = "FailNow was called"
|
||||
|
||||
func (m *MockTestingT) Logf(string, ...interface{}) {
|
||||
|
|
Loading…
Reference in New Issue