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

Fix some tests and deactivate broken ones

This commit is contained in:
Ruben Bridgewater
2015-09-01 21:47:15 +02:00
parent ba779ac361
commit 1ae280dcec
6 changed files with 14 additions and 93 deletions

View File

@@ -58,7 +58,7 @@ module.exports = {
},
isError: function (done) {
return function (err, results) {
assert.notEqual(err, null, "err is null, but an error is expected here.");
assert(err instanceof Error, "err is not instance of 'Error', but an error is expected here.");
if (done) return done();
};
},