diff --git a/example_test.go b/example_test.go index 98ee2dd0..6c3d6bdb 100644 --- a/example_test.go +++ b/example_test.go @@ -332,7 +332,7 @@ func ExampleScript() { func Example_customCommand() { Get := func(client *redis.Client, key string) *redis.StringCmd { - cmd := redis.NewStringCmd("GET", key) + cmd := redis.NewStringCmd("get", key) client.Process(cmd) return cmd }