You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Lots of bugs fixed.
* connection error did not properly trigger reconnection logic [GH-85] * client.hmget(key, [val1, val2]) was not expanding properly [GH-66] * client.quit() while in pub/sub mode would throw an error [GH-87] * client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
This commit is contained in:
11
test.js
11
test.js
@@ -318,7 +318,16 @@ tests.HMGET = function () {
|
||||
assert.strictEqual("abcdefghij", reply[0].toString(), name);
|
||||
assert.strictEqual("a type of value", reply[1].toString(), name);
|
||||
});
|
||||
|
||||
|
||||
client.HMGET(key1, ["0123456789"], function (err, reply) {
|
||||
assert.strictEqual("abcdefghij", reply[0], name);
|
||||
});
|
||||
|
||||
client.HMGET(key1, ["0123456789", "some manner of key"], function (err, reply) {
|
||||
assert.strictEqual("abcdefghij", reply[0], name);
|
||||
assert.strictEqual("a type of value", reply[1], name);
|
||||
});
|
||||
|
||||
client.HMGET(key1, "missing thing", "another missing thing", function (err, reply) {
|
||||
assert.strictEqual(null, reply[0], name);
|
||||
assert.strictEqual(null, reply[1], name);
|
||||
|
Reference in New Issue
Block a user