summaryrefslogtreecommitdiff
path: root/tests/unit/type/hash.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/type/hash.tcl')
-rw-r--r--tests/unit/type/hash.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/type/hash.tcl b/tests/unit/type/hash.tcl
index 02560ede2..d2c679d32 100644
--- a/tests/unit/type/hash.tcl
+++ b/tests/unit/type/hash.tcl
@@ -525,7 +525,7 @@ start_server {tags {"hash"}} {
# 1.23 cannot be represented correctly with 64 bit doubles, so we skip
# the test, since we are only testing pretty printing here and is not
# a bug if the program outputs things like 1.299999...
- if {!$::valgrind || ![string match *x86_64* [exec uname -a]]} {
+ if {!$::valgrind && [string match *x86_64* [exec uname -a]]} {
test {Test HINCRBYFLOAT for correct float representation (issue #2846)} {
r del myhash
assert {[r hincrbyfloat myhash float 1.23] eq {1.23}}