forgejo/vendor/github.com/stretchr/testify/require/require.go.tmpl

7 lines
139 B
Cheetah
Raw Normal View History

2017-12-11 05:23:34 +03:00
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
t.FailNow()
}
}