Fix no-negative-zero test

This commit is contained in:
Guy Benoish 2020-04-02 18:41:29 +03:00 committed by antirez
parent 6f54629071
commit 7cb94fd6cc

View File

@ -153,6 +153,7 @@ start_server {tags {"incr"}} {
} {ERR*valid*}
test {No negative zero} {
r del foo
r incrbyfloat foo [expr double(1)/41]
r incrbyfloat foo [expr double(-1)/41]
r get foo