Commit abb3385e authored by antirez's avatar antirez
Browse files

Regression test for issue #3333.

parent 23791828
...@@ -198,4 +198,10 @@ start_server {tags {"expire"}} { ...@@ -198,4 +198,10 @@ start_server {tags {"expire"}} {
r set foo b r set foo b
lsort [r keys *] lsort [r keys *]
} {a e foo s t} } {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*}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment