VictoriaMetrics/vendor/github.com/stretchr/testify/require/require.go.tmpl
2024-11-29 13:48:58 +01:00

6 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()
}