Remove excess newline from log call
This commit is contained in:
parent
da4a6503c2
commit
a1d2a32b20
|
@ -35,7 +35,7 @@ func TestIterBitmapsDistinct(t *testing.T) {
|
||||||
|
|
||||||
func TestSpewConnStats(t *testing.T) {
|
func TestSpewConnStats(t *testing.T) {
|
||||||
s := spew.Sdump(ConnStats{})
|
s := spew.Sdump(ConnStats{})
|
||||||
t.Logf("\n%s\n", s)
|
t.Logf("\n%s", s)
|
||||||
lines := strings.Count(s, "\n")
|
lines := strings.Count(s, "\n")
|
||||||
assert.EqualValues(t, 2+reflect.ValueOf(ConnStats{}).NumField(), lines)
|
assert.EqualValues(t, 2+reflect.ValueOf(ConnStats{}).NumField(), lines)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue