mirror of
https://github.com/stretchr/testify.git
synced 2025-05-30 19:22:30 +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
184 B
Cheetah
6 lines
184 B
Cheetah
{{.CommentFormat}}
|
|
func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool {
|
|
if h, ok := t.(tHelper); ok { h.Helper() }
|
|
return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}})
|
|
}
|