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

Add some more tests

This commit is contained in:
Ruben Bridgewater
2015-09-19 18:01:22 +02:00
parent 40c037eaf4
commit 2293f7ff85
4 changed files with 5 additions and 2 deletions

View File

@ -128,6 +128,7 @@ describe("The 'eval' method", function () {
helper.serverVersionAtLeast.call(this, client, [2, 5, 0]);
client.evalsha('ffffffffffffffffffffffffffffffffffffffff', 0);
client.on('error', function(err) {
assert.equal(err.code, 'NOSCRIPT');
assert(/NOSCRIPT No matching script. Please use EVAL./.test(err.message));
done();
});