1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Fix commands not being rejected after calling .quit as reported in #791

This commit is contained in:
Ruben Bridgewater
2015-09-16 01:17:18 +02:00
parent 403bfb0200
commit a0c906256c
11 changed files with 81 additions and 29 deletions

View File

@@ -34,7 +34,7 @@ describe("The 'dbsize' method", function () {
it("reports an error", function (done) {
client.dbsize([], function (err, res) {
assert(err.message.match(/Redis connection gone/));
assert(err.message.match(/The connection has already been closed/));
done();
});
});