diff --git a/client/pool_test.go b/client/pool_test.go index 227c1f0..2e5c284 100644 --- a/client/pool_test.go +++ b/client/pool_test.go @@ -14,7 +14,7 @@ func TestPoolAdd(t *testing.T) { if err := pool.Add("127.0.0.1:4730", 1); err != nil { t.Error(err) } - if err := pool.Add("127.0.0.2:4730", 1); err != nil { + if err := pool.Add("127.0.0.1:4730", 1); err != nil { t.Error(err) } if len(pool.clients) != 2 {