Upgraded to testify 1.3.0.

This commit is contained in:
Renan DelValle 2019-06-07 19:17:31 -07:00
parent f822267d17
commit 11db9daa3b
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
27 changed files with 2459 additions and 848 deletions

View file

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