1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Amend SCRIPT LOAD test cases

This commit is contained in:
Jonas Dohse
2013-03-14 12:38:44 +01:00
parent ccd4a2b8a3
commit de22a94edd

View File

@@ -493,7 +493,13 @@ tests.SCRIPT_LOAD = function() {
bclient.script("load", command, function(err, result) { bclient.script("load", command, function(err, result) {
assert.strictEqual(result.toString(), commandSha); assert.strictEqual(result.toString(), commandSha);
next(name); client.multi().script("load", command).exec(function(err, result) {
assert.strictEqual(result[0].toString(), commandSha);
client.multi([['script', 'load', command]]).exec(function(err, result) {
assert.strictEqual(result[0].toString(), commandSha);
next(name);
});
});
}); });
}; };