diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-04-02 20:00:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 20:00:51 +0200 |
commit | 5b73ea3cf6a5daf18f75a6ee46fb4485f5b3c059 (patch) | |
tree | e202e29af398f5d4c6fe219f481d02427a6c9abb | |
parent | eb9ca33414c01b8203f5691323d94c8c60f26aae (diff) | |
parent | 4665b3ebfb01e46b746ab75f720dbbcf4de28784 (diff) | |
download | redis-5b73ea3cf6a5daf18f75a6ee46fb4485f5b3c059.tar.gz |
Merge pull request #7054 from guybe7/fix_neg_zero_test
Fix no-negative-zero test
-rw-r--r-- | tests/unit/type/incr.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/type/incr.tcl b/tests/unit/type/incr.tcl index 63bf2e116..b7a135203 100644 --- a/tests/unit/type/incr.tcl +++ b/tests/unit/type/incr.tcl @@ -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 |