mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
mock/tests: add method Helper() to all mock of *testing.T
This commit is contained in:
parent
b534400d17
commit
e2ad95950e
@ -132,6 +132,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…
x
Reference in New Issue
Block a user