Regression test for issue #3333.

This commit is contained in:
antirez 2016-07-06 11:50:13 +02:00
parent 23791828f1
commit abb3385e8d

View File

@ -198,4 +198,10 @@ start_server {tags {"expire"}} {
r set foo b
lsort [r keys *]
} {a e foo s t}
test {EXPIRE with empty string as TTL should report an error} {
r set foo bar
catch {r expire foo ""} e
set e
} {*not an integer*}
}