SCAN: Fix test after option renamed from PATTERN to MATCH.

This commit is contained in:
antirez 2013-10-25 11:55:28 +02:00
parent fd1b0ad07c
commit 0471b90844

View File

@ -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