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

Make test idempotent

This commit is contained in:
Ruben Bridgewater
2016-06-16 12:39:08 +02:00
parent 98688331a3
commit 0c6edbd8a6

View File

@@ -717,7 +717,7 @@ describe("The 'multi' method", function () {
multi.exec(function (err, res) {
res[2] = res[2].substr(0, 10);
assert.deepEqual(res, ['OK', 'OK', '# Server\r\n', 'bar']);
done();
client.flushdb(done);
});
});