From 82bee418750868b6c9a4ea0f1dee86bc7a6a29f0 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Mon, 19 Feb 2018 14:56:13 -0600 Subject: [PATCH] Fix formatting bug on Go 1.10 --- handler_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler_test.go b/handler_test.go index 469a87c70..855b3261e 100644 --- a/handler_test.go +++ b/handler_test.go @@ -840,7 +840,7 @@ func TestHandler_Index_AttrStore_Diff(t *testing.T) { exp[200] = map[string]interface{}{"snowman": "☃"} if !reflect.DeepEqual(rec, exp) { - t.Fatalf("\nexpected: %s\n\ngot: %s\n", exp, rec) + t.Fatalf("\nexpected: %v\n\ngot: %v\n", exp, rec) } } @@ -923,7 +923,7 @@ func TestHandler_Frame_AttrStore_Diff(t *testing.T) { exp[200] = map[string]interface{}{"snowman": "☃"} if !reflect.DeepEqual(rec, exp) { - t.Fatalf("\nexpected: %s\n\ngot: %s\n", exp, rec) + t.Fatalf("\nexpected: %v\n\ngot: %v\n", exp, rec) } }