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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user