Skip to content

Commit

Permalink
Fixed syntax on ZRevRangeByLex test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Pierce committed Aug 25, 2015
1 parent 5498ba4 commit 7cafa2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}))
Expand Down

0 comments on commit 7cafa2f

Please sign in to comment.