1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Use HSET for HMSet

This commit is contained in:
Vladimir Mihailenco
2019-12-18 10:52:49 +02:00
parent 2713a259c5
commit d7ce64d287
2 changed files with 37 additions and 22 deletions

View File

@ -1383,7 +1383,7 @@ var _ = Describe("Commands", func() {
"key2": "hello2",
}).Result()
Expect(err).NotTo(HaveOccurred())
Expect(ok).To(Equal("OK"))
Expect(ok).To(Equal(int64(3)))
v, err := client.HGet("hash", "key1").Result()
Expect(err).NotTo(HaveOccurred())