mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
valgrind handles floating point numbers differently for some reason, so using "simpler" numbers to make tests happy.
This commit is contained in:
@ -213,8 +213,8 @@ start_server {tags {"basic"}} {
|
||||
|
||||
test {INCRBYFLOAT decrement} {
|
||||
r set foo 1
|
||||
r incrbyfloat foo -1.256
|
||||
} {-0.256}
|
||||
r incrbyfloat foo -1.1
|
||||
} {-0.1}
|
||||
|
||||
test "SETNX target key missing" {
|
||||
r del novar
|
||||
|
Reference in New Issue
Block a user