Skip to content

Commit 1b261fc

Browse files
author
Ruben Bridgewater
committed
Revert "added test for multi.hmset's array handling"
This reverts commit bb221ad. The test is broken and only passes because there's a bug with multi hmset using arrays. See #686 and #838 for more details
1 parent bf2ccd9 commit 1b261fc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/commands/multi.spec.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -210,19 +210,6 @@ describe("The 'multi' method", function () {
210210
});
211211
});
212212

213-
it('allows an array to be provided to hmset', function (done) {
214-
client.multi()
215-
.hmset("arrayhash", ['a', 'b', 'c'])
216-
.hgetall("arrayhash")
217-
.exec(function (err, replies) {
218-
assert.strictEqual(null, err);
219-
assert.equal("OK", replies[0]);
220-
assert.equal(Object.keys(replies[1]).length, 3);
221-
assert.equal("b", replies[1]['1']);
222-
return done();
223-
});
224-
});
225-
226213
});
227214
});
228215
});

0 commit comments

Comments
 (0)