From: Matt Joiner Date: Wed, 13 Jun 2018 00:56:09 +0000 (+1000) Subject: Remove excess newline from log call X-Git-Tag: v1.0.0~127^2~29 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a1d2a32b2051f12d5d7279c2337e39ca8872ade0;p=btrtrc.git Remove excess newline from log call --- 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) }