forked from mirror/redis
Fixed syntax on ZRevRangeByLex test.
This commit is contained in:
parent
5498ba400d
commit
7cafa2f3a5
|
@ -2230,12 +2230,12 @@ var _ = Describe("Commands", func() {
|
|||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(vals).To(Equal([]string{"c", "b", "a"}))
|
||||
|
||||
vals, err := client.ZRevRangeByLex(
|
||||
vals, err = client.ZRevRangeByLex(
|
||||
"zset", redis.ZRangeByScore{Max: "[b", Min: "(a"}).Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(vals).To(Equal([]string{"b"}))
|
||||
|
||||
vals, err := client.ZRevRangeByLex(
|
||||
vals, err = client.ZRevRangeByLex(
|
||||
"zset", redis.ZRangeByScore{Max: "(b", Min: "(a"}).Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(vals).To(Equal([]string{}))
|
||||
|
|
Loading…
Reference in New Issue