open-nomad/vendor/github.com/stretchr/testify/require/require.go.tmpl
2018-05-07 14:50:01 -05:00

8 lines
183 B
Cheetah

{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
if h, ok := t.(tHelper); ok { h.Helper() }
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
t.FailNow()
}
}