Skip to content

Commit 0c6edbd

Browse files
author
Ruben Bridgewater
committed
Make test idempotent
1 parent 9868833 commit 0c6edbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/multi.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ describe("The 'multi' method", function () {
717717
multi.exec(function (err, res) {
718718
res[2] = res[2].substr(0, 10);
719719
assert.deepEqual(res, ['OK', 'OK', '# Server\r\n', 'bar']);
720-
done();
720+
client.flushdb(done);
721721
});
722722
});
723723

0 commit comments

Comments
 (0)