X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/85b69afedea1c31ded63495983eb168a7799bfcd..9bd0e097aa19b697757cdb73dd447e2c6f4960c6:/tests/unit/expire.tcl?ds=sidebyside diff --git a/tests/unit/expire.tcl b/tests/unit/expire.tcl index 82876ddd..56a59f76 100644 --- a/tests/unit/expire.tcl +++ b/tests/unit/expire.tcl @@ -141,4 +141,15 @@ start_server {tags {"expire"}} { set size2 [r dbsize] list $size1 $size2 } {3 0} + + test {5 keys in, 5 keys out} { + r flushdb + r set a c + r expire a 5 + r set t c + r set e c + r set s c + r set foo b + lsort [r keys *] + } {a e foo s t} }