assertion_forward.go.tmpl 185 B

12345
  1. {{.CommentWithoutT "a"}}
  2. func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool {
  3. if h, ok := a.t.(tHelper); ok { h.Helper() }
  4. return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
  5. }