mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Add test for ring and cluster hooks
This commit is contained in:
@ -447,7 +447,7 @@ func Example_customCommand() {
|
||||
}
|
||||
|
||||
func Example_customCommand2() {
|
||||
v, err := rdb.Do("get", "key_does_not_exist").String()
|
||||
v, err := rdb.Do("get", "key_does_not_exist").Text()
|
||||
fmt.Printf("%q %s", v, err)
|
||||
// Output: "" redis: nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user