From: Pieter Noordhuis Date: Tue, 7 Sep 2010 09:49:33 +0000 (+0200) Subject: Fix test that sometimes returned the swapped object instead of encoding X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/efc5d4cc0dd285b45061d61d7a717777aa8bc7a0 Fix test that sometimes returned the swapped object instead of encoding --- diff --git a/tests/unit/type/hash.tcl b/tests/unit/type/hash.tcl index ef49a27d..74f6d058 100644 --- a/tests/unit/type/hash.tcl +++ b/tests/unit/type/hash.tcl @@ -15,8 +15,8 @@ start_server {tags {"hash"}} { } {8} test {Is the small hash encoded with a zipmap?} { - r debug object smallhash - } {*zipmap*} + assert_encoding zipmap smallhash + } test {HSET/HLEN - Big hash creation} { array set bighash {}