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

7 lines
187 B
Cheetah
Raw Normal View History

{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
2019-03-26 21:50:42 +00:00
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
if h, ok := t.(tHelper); ok { h.Helper() }
2019-03-26 21:50:42 +00:00
t.FailNow()
}