mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
modified a bit the ZREVRANGE test to cover a few lines of code more
This commit is contained in:
parent
ac945e2dcf
commit
04c71068a8
@ -1185,12 +1185,9 @@ proc main {server port} {
|
||||
} {}
|
||||
|
||||
test {ZRANGE and ZREVRANGE basics} {
|
||||
list [$r zrange ztmp 0 -1] [$r zrevrange ztmp 0 -1]
|
||||
} {{y x z} {z x y}}
|
||||
|
||||
test {ZRANGE and ZREVRANGE stress testing} {
|
||||
list [$r zrange ztmp 0 -1] [$r zrevrange ztmp 0 -1]
|
||||
} {{y x z} {z x y}}
|
||||
list [$r zrange ztmp 0 -1] [$r zrevrange ztmp 0 -1] \
|
||||
[$r zrange ztmp 1 -1] [$r zrevrange ztmp 1 -1]
|
||||
} {{y x z} {z x y} {x z} {x y}}
|
||||
|
||||
test {ZSETs stress tester - sorting is working well?} {
|
||||
set delta 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user