Compact template

pull/611/head
Nick Pollett 2018-05-26 22:27:15 +12:00 committed by Ernesto Jiménez
parent 6c9d18aaae
commit 89226b8388
1 changed files with 1 additions and 3 deletions

View File

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