open-nomad/vendor/github.com/stretchr/testify/require/require.go.tmpl

7 lines
187 B
Cheetah
Raw Normal View History

2018-01-04 22:39:45 +00:00
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
2018-04-19 23:05:42 +00:00
if h, ok := t.(tHelper); ok { h.Helper() }
2019-08-19 22:35:03 +00:00
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
t.FailNow()
2018-01-04 22:39:45 +00:00
}