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

@ -26,7 +26,7 @@ describe("The 'select' method", function () {
it("returns an error if redis is not connected", function (done) {
client.select(1, function (err, res) {
assert(err.message.match(/Redis connection gone/));
assert(err.message.match(/The connection has already been closed/));
done();
});
});