Skip to content

Commit 7e83419

Browse files
authored
Merge pull request #274 from debasishg/feature-add-missing-commands
Feature add missing commands
2 parents 538dd37 + feccaad commit 7e83419

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/scala/com/redis/RedisProtocol.scala

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package com.redis
22

33
import serialization.Parse
44
import Parse.{Implicits => Parsers}
5+
import com.redis.serialization.Format
56

67
case class GeoRadiusMember(member: Option[String],
78
hash: Option[Long] = None,

src/test/scala/com/redis/api/SortedSetApiSpec.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ trait SortedSetApiSpec extends FunSpec
249249

250250
protected def zpopmax(): Unit = {
251251
describe("zpopmax") {
252-
it ("should return 'count' number of elements with the lowest score") {
252+
it ("should return 'count' number of elements with the highest score") {
253253
add
254254

255255
r.zpopmax("hackers", 2).get should equal(List(("linus torvalds", 1969), ("yukihiro matsumoto", 1965)))
@@ -269,10 +269,10 @@ trait SortedSetApiSpec extends FunSpec
269269

270270
protected def bzpopmax(): Unit = {
271271
describe("bzpopmax") {
272-
it ("should return 'count' number of elements with the lowest score") {
272+
it ("should return 'count' number of elements with the highest score") {
273273
add
274274

275-
r.bzpopmax(1, "hackers") should equal(("hackers", "linus torvalds", 1969))
275+
r.bzpopmax(1, "hackers").get should equal(("hackers", "linus torvalds", 1969))
276276
}
277277
}
278278
}

0 commit comments

Comments
 (0)