1
0
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:
Ruben Bridgewater
2015-09-13 02:21:21 +02:00
parent 8fa5b93c93
commit 06121a65c4
3 changed files with 4 additions and 0 deletions

View File

@@ -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();