Commit 5384a2d8 authored by antirez's avatar antirez
Browse files

SORT STORE test added

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment