From 3ca35dc7218811bbc1742d8c8461551b3202301c Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Thu, 20 Apr 2017 16:31:00 -0500 Subject: [PATCH] Remove extra debug info in the dashboard testing --- server/dashboards_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/dashboards_test.go b/server/dashboards_test.go index 672d0fa5b..a37c3851a 100644 --- a/server/dashboards_test.go +++ b/server/dashboards_test.go @@ -302,10 +302,6 @@ func Test_newDashboardResponse(t *testing.T) { for _, tt := range tests { if got := newDashboardResponse(tt.d); !reflect.DeepEqual(got, tt.want) { t.Errorf("%q. newDashboardResponse() = \n%+v\n\n, want\n\n%+v", tt.name, got, tt.want) - g, _ := json.MarshalIndent(got, "", " ") - w, _ := json.MarshalIndent(tt.want, "", " ") - log.Printf(string(g)) - log.Printf(string(w)) } } }