From efc5d4cc0dd285b45061d61d7a717777aa8bc7a0 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 7 Sep 2010 11:49:33 +0200 Subject: [PATCH] Fix test that sometimes returned the swapped object instead of encoding --- tests/unit/type/hash.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {}