summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/gomock/call_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/mock/gomock/call_test.go')
-rw-r--r--vendor/github.com/golang/mock/gomock/call_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/github.com/golang/mock/gomock/call_test.go b/vendor/github.com/golang/mock/gomock/call_test.go
index 3ae7263..3a8315b 100644
--- a/vendor/github.com/golang/mock/gomock/call_test.go
+++ b/vendor/github.com/golang/mock/gomock/call_test.go
@@ -1,6 +1,8 @@
package gomock
-import "testing"
+import (
+ "testing"
+)
type mockTestReporter struct {
errorCalls int
@@ -15,6 +17,8 @@ func (o *mockTestReporter) Fatalf(format string, args ...interface{}) {
o.fatalCalls++
}
+func (o *mockTestReporter) Helper() {}
+
func TestCall_After(t *testing.T) {
t.Run("SelfPrereqCallsFatalf", func(t *testing.T) {
tr1 := &mockTestReporter{}