Commit b2e29597 authored by antirez's avatar antirez
Browse files

Regression test for issue #4391.

parent de474186
...@@ -696,6 +696,10 @@ start_server {tags {"zset"}} { ...@@ -696,6 +696,10 @@ start_server {tags {"zset"}} {
} }
} }
test "ZSET commands don't accept the empty strings as valid score" {
assert_error "*not*float*" {r zadd myzset "" abc}
}
proc stressers {encoding} { proc stressers {encoding} {
if {$encoding == "ziplist"} { if {$encoding == "ziplist"} {
# Little extra to allow proper fuzzing in the sorting stresser # Little extra to allow proper fuzzing in the sorting stresser
......
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