Merge pull request #7054 from guybe7/fix_neg_zero_test

Fix no-negative-zero test
This commit is contained in:
Salvatore Sanfilippo 2020-04-02 20:00:51 +02:00 committed by GitHub
commit 5b73ea3cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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