From 3c23ee1ba265b6e420579dcbf94bd25ece23e9fe Mon Sep 17 00:00:00 2001
From: Pieter Noordhuis <pcnoordhuis@gmail.com>
Date: Mon, 13 Sep 2010 16:59:46 +0200
Subject: [PATCH] Fix another 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 74f6d058..2c0bd534 100644
--- a/tests/unit/type/hash.tcl
+++ b/tests/unit/type/hash.tcl
@@ -34,8 +34,8 @@ start_server {tags {"hash"}} {
     } {1024}
 
     test {Is the big hash encoded with a zipmap?} {
-        r debug object bighash
-    } {*hashtable*}
+        assert_encoding hashtable bighash
+    }
 
     test {HGET against the small hash} {
         set err {}