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:
Krasi Georgiev 2019-09-19 14:21:12 +03:00 committed by GitHub
parent e081406b5b
commit 29c190df73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ func NotOk(tb TB, err error, a ...interface{}) {
func Equals(tb TB, exp, act interface{}, msgAndArgs ...interface{}) { func Equals(tb TB, exp, act interface{}, msgAndArgs ...interface{}) {
tb.Helper() tb.Helper()
if !reflect.DeepEqual(exp, act) { 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)
} }
} }