bcbf0431d1
This commit replaces the legacy `gopkg.in/check.v1` testing dependency with `github.com/stretchr/testify`. Closes https://github.com/distribution/distribution/issues/3884. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
6 lines
187 B
Cheetah
6 lines
187 B
Cheetah
{{.Comment}}
|
|
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
|
|
if h, ok := t.(tHelper); ok { h.Helper() }
|
|
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
|
|
t.FailNow()
|
|
}
|