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

down to one failing test on Windows, time to rebase

This commit is contained in:
Benjamin Coe
2015-09-12 18:22:32 -07:00
parent 65b26ed9aa
commit 77e8552374
3 changed files with 33 additions and 8 deletions

View File

@@ -126,12 +126,12 @@ describe("The 'multi' method", function () {
client.multi([
["mget", "multifoo", "multibar", function (err, res) {
assert.strictEqual(2, res.length);
assert.strictEqual("0", res[0].toString());
assert.strictEqual("0", res[1].toString());
assert.strictEqual(0, +res[0]);
assert.strictEqual(0, +res[1]);
}],
["set", "foo2", helper.isError()],
["incr", "multifoo", helper.isNumber(1)],
["incr", "multibar", helper.isNumber(1)]
["set", "foo2"],
["incr", "multifoo"],
["incr", "multibar"]
]).exec(function (err, replies) {
if (helper.serverVersionAtLeast(client, [2, 6, 5])) {
assert.notEqual(err, null);