Files
timmy-config/go/pkg/mod/github.com/stretchr/testify@v1.10.0/require/require.go.tmpl
2026-03-31 20:02:01 +00:00

7 lines
217 B
Cheetah

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