assertion_format.go.tmpl 184 B

12345
  1. {{.CommentFormat}}
  2. func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool {
  3. if h, ok := t.(tHelper); ok { h.Helper() }
  4. return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}})
  5. }