1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Fix PubSubNumSub to work with Redis 2.8.14.

This commit is contained in:
Vladimir Mihailenco
2014-11-06 13:13:24 +02:00
parent 7b28e6f9d2
commit c54b831796
2 changed files with 3 additions and 3 deletions

View File

@ -2589,7 +2589,7 @@ func (t *RedisTest) TestPubSubNumSub(c *C) {
c.Assert(
channels,
DeepEquals,
[]string{"mychannel", "1", "mychannel2", "1", "mychannel3", "0"},
[]interface{}{"mychannel", int64(1), "mychannel2", int64(1), "mychannel3", int64(0)},
)
}