mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 03:32:40 +00:00
Use Go 1.9 t.Helper() to remove testify from the output of the tests and stop using `\r` to try to overwrite the output. This means in Go 1.7 and Go 1.8 testify will appear as failing the test.
6 lines
185 B
Cheetah
6 lines
185 B
Cheetah
{{.CommentWithoutT "a"}}
|
|
func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool {
|
|
if h, ok := a.t.(tHelper); ok { h.Helper() }
|
|
return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
|
|
}
|