diff options
| author | Alex Flint <[email protected]> | 2018-11-20 12:09:59 -0800 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2018-11-20 12:09:59 -0800 |
| commit | d7246f2485afaca12c2d4c1b04aca2e3d4d9a27b (patch) | |
| tree | eac50712b08582067812200c41f0ac9bdb28778a /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl | |
| parent | 27a7b2fb3d6b5f628fdd9572b41bf6fb37c37d0c (diff) | |
go mod vendor
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl')
| -rw-r--r-- | vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl index 99f9acf..188bb9e 100644 --- a/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +++ b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl @@ -1,4 +1,5 @@ {{.CommentWithoutT "a"}} func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { + if h, ok := a.t.(tHelper); ok { h.Helper() } return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) } |
