Remove excess newline from log call

This commit is contained in:
Matt Joiner 2018-06-13 10:56:09 +10:00
parent da4a6503c2
commit a1d2a32b20
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}