You've already forked node-redis
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:
8
test.js
8
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);
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user