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

8 lines
183 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() }
2018-01-04 22:39:45 +00:00
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
t.FailNow()
}
}