require.go.tmpl raw

   1  {{ replace .Comment "assert." "require."}}
   2  func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
   3  	if h, ok := t.(tHelper); ok { h.Helper() }
   4  	if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
   5  	t.FailNow()
   6  }
   7