From 29c190df73380800d90a3fabeb8b93e234cbd305 Mon Sep 17 00:00:00 2001 From: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com> Date: Thu, 19 Sep 2019 14:21:12 +0300 Subject: [PATCH] remove missing substitution in the Equal test util. (#6039) Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com> --- util/testutil/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/testutil/testing.go b/util/testutil/testing.go index 39b44e536..6fac7b801 100644 --- a/util/testutil/testing.go +++ b/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) } }