You've already forked node-redis
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:
@ -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();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user