aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/require/require.go.tmpl
blob: 6ffc751b5e507bf3d8b07447bfac4d63230fa1e2 (plain) (blame)
1
2
3
4
5
6
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
	if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
	if h, ok := t.(tHelper); ok { h.Helper() }
	t.FailNow()
}