1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Change redis.Nil value.

This commit is contained in:
Vladimir Mihailenco
2013-11-04 10:08:03 +02:00
parent a05ac42753
commit ab4d0d6b62
3 changed files with 17 additions and 44 deletions

View File

@ -267,7 +267,7 @@ func (t *RedisTest) TestCmdStringMethod(c *C) {
func (t *RedisTest) TestCmdStringMethodError(c *C) {
get2 := t.client.Get("key_does_not_exists")
c.Assert(get2.String(), Equals, "GET key_does_not_exists: (nil)")
c.Assert(get2.String(), Equals, "GET key_does_not_exists: redis: nil")
}
func (t *RedisTest) TestRunWithouthCheckingErrVal(c *C) {