mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
remove missing substitution in the Equal test util. (#6039)
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
This commit is contained in:
parent
e081406b5b
commit
29c190df73
|
@ -67,7 +67,7 @@ func NotOk(tb TB, err error, a ...interface{}) {
|
|||
func Equals(tb TB, exp, act interface{}, msgAndArgs ...interface{}) {
|
||||
tb.Helper()
|
||||
if !reflect.DeepEqual(exp, act) {
|
||||
tb.Fatalf("\033[31m%s\n\nexp: %#v\n\ngot: %#v%s\033[39m\n", formatMessage(msgAndArgs), exp, act)
|
||||
tb.Fatalf("\033[31m%s\n\nexp: %#v\n\ngot: %#v\033[39m\n", formatMessage(msgAndArgs), exp, act)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue