adam-gui/vendor/github.com/stretchr/testify/require/require.go.tmpl

7 lines
187 B
Cheetah
Raw Permalink Normal View History

2024-04-29 19:13:50 +02:00
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
if h, ok := t.(tHelper); ok { h.Helper() }
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
t.FailNow()
}