mirror of
https://github.com/fluencelabs/redis
synced 2025-04-04 00:31:03 +00:00
SSCAN with integer encoded object test improved.
This commit is contained in:
parent
c4ca5f99bf
commit
9fba193a59
@ -202,5 +202,7 @@ start_server {tags {"scan"}} {
|
|||||||
r sadd set {*}$objects
|
r sadd set {*}$objects
|
||||||
set res [r sscan set 0 MATCH *a* COUNT 100]
|
set res [r sscan set 0 MATCH *a* COUNT 100]
|
||||||
assert_equal [lsort -unique [lindex $res 1]] {a}
|
assert_equal [lsort -unique [lindex $res 1]] {a}
|
||||||
|
set res [r sscan set 0 MATCH *1* COUNT 100]
|
||||||
|
assert_equal [lsort -unique [lindex $res 1]] {1}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user