1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Fix bug with optional callbacks for hmset.

This commit is contained in:
Matt Ranney
2011-06-30 16:13:57 -06:00
parent 04b4db8723
commit 891529c06a
4 changed files with 8 additions and 2 deletions

View File

@@ -395,6 +395,8 @@ tests.HMSET_BUFFER_AND_ARRAY = function () {
client.HMSET(key, field1, value1, field2, value2, last(name, require_string("OK", name)));
};
// TODO - add test for HMSET. It is special. Test for all forms as well as optional callbacks
tests.HMGET = function () {
var key1 = "test hash 1", key2 = "test hash 2", name = "HMGET";