diff --git a/test.js b/test.js index b790f5f64d..543158196c 100644 --- a/test.js +++ b/test.js @@ -493,7 +493,13 @@ tests.SCRIPT_LOAD = function() { bclient.script("load", command, function(err, result) { 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); + }); + }); }); };