Merge remote-tracking branch 'origin/unstable' into unstable

This commit is contained in:
antirez
2011-12-21 17:13:31 +01:00
4 changed files with 37 additions and 15 deletions

View File

@@ -50,6 +50,10 @@ start_server {
assert_equal $result [r sort tosort BY weight_*]
}
test "$title: SORT BY key with limit" {
assert_equal [lrange $result 5 9] [r sort tosort BY weight_* LIMIT 5 5]
}
test "$title: SORT BY hash field" {
assert_equal $result [r sort tosort BY wobj_*->weight]
}