2016-11-19 18:22:36 +08:00
|
|
|
{{.Comment}}
|
|
|
|
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
|
2018-06-18 00:59:12 +08:00
|
|
|
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
|
|
|
|
if h, ok := t.(tHelper); ok { h.Helper() }
|
|
|
|
t.FailNow()
|
2016-11-19 18:22:36 +08:00
|
|
|
}
|