gonextcloud/vendor/github.com/stretchr/testify/require/require.go.tmpl
2019-01-03 14:15:11 +01:00

7 lines
187 B
Cheetah

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