fix fmt str

This commit is contained in:
wangkechun
2017-02-25 22:53:25 +08:00
parent 0f75420692
commit 059b9d36d7
5 changed files with 5 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ func testPool(t *testing.T, size int, ttl time.Duration) {
p.Lock()
if i := len(p.conns[l.Addr()]); i > size {
p.Unlock()
t.Fatal("pool size %d is greater than expected %d", i, size)
t.Fatalf("pool size %d is greater than expected %d", i, size)
}
p.Unlock()
}