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

7 lines
139 B
Cheetah
Raw Normal View History

2016-12-29 10:03:40 +09:00
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
t.FailNow()
}
}