mirror of https://mirror.osredm.com/root/redis.git
Fix no-negative-zero test
This commit is contained in:
parent
a38ff404bd
commit
024c380b9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue