Skip to content

Commit

Permalink
Amend SCRIPT LOAD test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Dohse committed Mar 14, 2013
1 parent ccd4a2b commit de22a94
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
});
};

Expand Down

0 comments on commit de22a94

Please sign in to comment.