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