From a1d2a32b2051f12d5d7279c2337e39ca8872ade0 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 13 Jun 2018 10:56:09 +1000 Subject: [PATCH] Remove excess newline from log call --- misc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_test.go b/misc_test.go index 33b1784a..b7272151 100644 --- a/misc_test.go +++ b/misc_test.go @@ -35,7 +35,7 @@ func TestIterBitmapsDistinct(t *testing.T) { func TestSpewConnStats(t *testing.T) { s := spew.Sdump(ConnStats{}) - t.Logf("\n%s\n", s) + t.Logf("\n%s", s) lines := strings.Count(s, "\n") assert.EqualValues(t, 2+reflect.ValueOf(ConnStats{}).NumField(), lines) }