remove missing substitution in the Equal test util. (#6039)

Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
pull/6041/head
Krasi Georgiev 7 years ago committed by GitHub
parent e081406b5b
commit 29c190df73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      util/testutil/testing.go

@ -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…
Cancel
Save