X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/0c7a9dec651aa15857da30b95cca7079490725ab..1a06bf93c4de5016c746eab0d9d0255a458693b7:/tests/support/test.tcl diff --git a/tests/support/test.tcl b/tests/support/test.tcl index 298e4c77..93f64928 100644 --- a/tests/support/test.tcl +++ b/tests/support/test.tcl @@ -36,8 +36,8 @@ proc assert_encoding {enc key} { # Swapped out values don't have an encoding, so make sure that # the value is swapped in before checking the encoding. set dbg [r debug object $key] - while {[string match "* swapped:*" $dbg]} { - [r debug swapin $key] + while {[string match "* swapped at:*" $dbg]} { + r debug swapin $key set dbg [r debug object $key] } assert_match "* encoding:$enc *" $dbg