mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 15:09:39 -08:00
6c56a1faaa
* Testify: move to require Moving testify to require to fail tests early in case of errors. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> * More moves Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
7 lines
187 B
Cheetah
7 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()
|
|
}
|