peridot/vendor/github.com/stretchr/testify/require/require.go.tmpl
2022-07-07 22:13:21 +02:00

6 lines
187 B
Cheetah

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