]> git.saurik.com Git - redis.git/commitdiff
Fix another test that sometimes returned the swapped object instead of encoding
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Mon, 13 Sep 2010 14:59:46 +0000 (16:59 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Mon, 13 Sep 2010 14:59:46 +0000 (16:59 +0200)
tests/unit/type/hash.tcl

index 74f6d058e141a06196eec9cb8e3ce85a196de580..2c0bd53492d0c4a83f2727af778a1e38c56fec28 100644 (file)
@@ -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 {}