diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-09-05 10:55:48 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-09-05 10:55:48 +0300 |
commit | cfb2cc057c32330be0ca0a68cfbd245cb2b8e31b (patch) | |
tree | f0d02d40d41091fd052582fe1fe701c80decf0d7 /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl | |
parent | 68db26bcace31297471641fe95f8882e301f5699 (diff) |
Update to latest gomatrix. Things are broken
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl')
-rw-r--r-- | vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl index c5cc66f..d2bb0b8 100644 --- a/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +++ b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl @@ -1,4 +1,5 @@ {{.CommentFormat}} func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { + if h, ok := t.(tHelper); ok { h.Helper() } return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) } |