提交 5384a2d8 编写于 作者: A antirez

SORT STORE test added

上级 d922ae65
......@@ -904,6 +904,11 @@ proc main {server port} {
$r sort tosort {BY weight_*}
} $res
test {SORT with BY and STORE against the newly created list} {
$r sort tosort {BY weight_*} store sort-res
$r lrange sort-res 0 -1
} $res
test {SORT direct, numeric, against the newly created list} {
$r sort tosort
} [lsort -integer $res]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册