From de22a94edd4fb53733ced171fc1e919f63000175 Mon Sep 17 00:00:00 2001 From: Jonas Dohse Date: Thu, 14 Mar 2013 12:38:44 +0100 Subject: [PATCH] Amend SCRIPT LOAD test cases --- test.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); + }); + }); }); };