You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Revert "added test for multi.hmset's array handling"
This reverts commit bb221adec4
.
The test is broken and only passes because there's a bug with multi hmset using arrays.
See #686 and #838 for more details
This commit is contained in:
@@ -210,19 +210,6 @@ describe("The 'multi' method", function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('allows an array to be provided to hmset', function (done) {
|
||||
client.multi()
|
||||
.hmset("arrayhash", ['a', 'b', 'c'])
|
||||
.hgetall("arrayhash")
|
||||
.exec(function (err, replies) {
|
||||
assert.strictEqual(null, err);
|
||||
assert.equal("OK", replies[0]);
|
||||
assert.equal(Object.keys(replies[1]).length, 3);
|
||||
assert.equal("b", replies[1]['1']);
|
||||
return done();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user