From d7246f2485afaca12c2d4c1b04aca2e3d4d9a27b Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Tue, 20 Nov 2018 12:09:59 -0800 Subject: go mod vendor --- vendor/github.com/stretchr/testify/require/require.go.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/github.com/stretchr/testify/require/require.go.tmpl') diff --git a/vendor/github.com/stretchr/testify/require/require.go.tmpl b/vendor/github.com/stretchr/testify/require/require.go.tmpl index ab1b1e9..6ffc751 100644 --- a/vendor/github.com/stretchr/testify/require/require.go.tmpl +++ b/vendor/github.com/stretchr/testify/require/require.go.tmpl @@ -1,6 +1,6 @@ {{.Comment}} func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { - if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { - t.FailNow() - } + if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return } + if h, ok := t.(tHelper); ok { h.Helper() } + t.FailNow() } -- cgit v1.2.3