You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Increase the coverage
This commit is contained in:
@@ -34,6 +34,7 @@ describe("The 'getset' method", function () {
|
||||
});
|
||||
|
||||
it("reports an error", function (done) {
|
||||
client.GET(key, redis.print); // Use the utility function to print the error
|
||||
client.get(key, function (err, res) {
|
||||
assert.equal(err.message, 'Redis connection gone from end event.');
|
||||
done();
|
||||
|
Reference in New Issue
Block a user