Regression test for issue #4391.

This commit is contained in:
antirez 2017-10-30 13:45:46 +01:00
parent de474186bd
commit b2e295971f

View File

@ -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} {
if {$encoding == "ziplist"} {
# Little extra to allow proper fuzzing in the sorting stresser