瀏覽代碼

[tests] Add missing test for key prefix in HSTRLEN.

Daniele Alessandri 9 年之前
父節點
當前提交
0bd57ab744
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      tests/Predis/Command/Processor/KeyPrefixProcessorTest.php

+ 5 - 0
tests/Predis/Command/Processor/KeyPrefixProcessorTest.php

@@ -868,6 +868,11 @@ class KeyPrefixProcessorTest extends PredisTestCase
                 array('key1', 'key2', 'key3'),
                 array('key1', 'key2', 'key3'),
                 array('prefix:key1', 'prefix:key2', 'prefix:key3'),
                 array('prefix:key1', 'prefix:key2', 'prefix:key3'),
             ),
             ),
+            /* ---------------- Redis 3.2 ---------------- */
+            array('HSTRLEN',
+                array('key', 'field'),
+                array('prefix:key', 'field'),
+            ),
         );
         );
     }
     }
 }
 }