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

8 lines
183 B
Cheetah
Raw Normal View History

{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
2018-03-19 15:51:38 +00:00
if h, ok := t.(tHelper); ok { h.Helper() }
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
t.FailNow()
}
}