mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:17:51 +00:00
SCAN: Fix test after option renamed from PATTERN to MATCH.
This commit is contained in:
parent
fd1b0ad07c
commit
0471b90844
@ -798,14 +798,14 @@ start_server {tags {"basic"}} {
|
||||
assert_equal 1000 [llength $keys]
|
||||
}
|
||||
|
||||
test "SCAN PATTERN" {
|
||||
test "SCAN MATCH" {
|
||||
r flushdb
|
||||
r debug populate 1000
|
||||
|
||||
set cur 0
|
||||
set keys {}
|
||||
while 1 {
|
||||
set res [r scan $cur pattern "key:1??"]
|
||||
set res [r scan $cur match "key:1??"]
|
||||
set cur [lindex $res 0]
|
||||
set k [lindex $res 1]
|
||||
lappend keys $k
|
||||
|
Loading…
Reference in New Issue
Block a user