]> git.saurik.com Git - redis.git/blobdiff - tests/unit/type/hash.tcl
valgrind handles floating point numbers differently for some reason, so using "simple...
[redis.git] / tests / unit / type / hash.tcl
index 863c51a482191dd9a4c2a6d25f425909f63557ab..2b2a684efae0cabeea6f1707f5d6d1258abb411f 100644 (file)
@@ -335,11 +335,11 @@ start_server {tags {"hash"}} {
 
     test {HINCRBYFLOAT against hash key created by hincrby itself} {
         set rv {}
-        lappend rv [r hincrbyfloat smallhash tmp 3.1]
+        lappend rv [r hincrbyfloat smallhash tmp 3.5]
         lappend rv [r hget smallhash tmp]
-        lappend rv [r hincrbyfloat bighash tmp 3.1]
+        lappend rv [r hincrbyfloat bighash tmp 3.5]
         lappend rv [r hget bighash tmp]
-    } {5.6 5.6 5.6 5.6}
+    } {6 6 6 6}
 
     test {HINCRBYFLOAT against hash key originally set with HSET} {
         r hset smallhash tmp 100