fixed for travis-ci

This commit is contained in:
mikespook 2013-06-09 12:46:47 +08:00
parent 5259aece7e
commit e7d32edee0

View File

@ -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 {