mirror of https://github.com/stretchr/testify.git
remove failure note on require-comments
parent
bc04bb85a2
commit
3b2754b72f
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,4 @@
|
||||||
{{ replace .Comment "assert." "require."}}
|
{{ replace .Comment "assert." "require."}}
|
||||||
// Failure of this check is fatal ([testing.T.FailNow] is called on failure).
|
|
||||||
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
|
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
|
||||||
if h, ok := t.(tHelper); ok { h.Helper() }
|
if h, ok := t.(tHelper); ok { h.Helper() }
|
||||||
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
|
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
|
||||||
|
|
Loading…
Reference in New Issue