mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Don't convert bytes to string in Cmd (interface{} value).
This commit is contained in:
@ -132,7 +132,7 @@ var _ = Describe("Client", func() {
|
||||
cmd := redis.NewCmd("PING")
|
||||
client.Process(cmd)
|
||||
Expect(cmd.Err()).NotTo(HaveOccurred())
|
||||
Expect(cmd.Val()).To(Equal("PONG"))
|
||||
Expect(cmd.Val()).To(Equal([]byte("PONG")))
|
||||
})
|
||||
|
||||
It("should retry command on network error", func() {
|
||||
|
Reference in New Issue
Block a user