gonews/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl

6 lines
185 B
Cheetah
Raw Normal View History

2019-09-02 19:51:38 +05:00
{{.CommentWithoutT "a"}}
func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool {
if h, ok := a.t.(tHelper); ok { h.Helper() }
return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
}