You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Tiny speedup by removing command.toLowerCase()
This is not necessary as the command itself is only used from inside the code and as they are (now) all lower case it is safe to remove the toLowerCase
This commit is contained in:
@@ -26,7 +26,7 @@ describe("The 'msetnx' method", function () {
|
||||
});
|
||||
|
||||
it('sets multiple keys if all keys are not set', function (done) {
|
||||
client.MSETNX(["mset3", "val3", "mset4", "val4"], helper.isNumber(1));
|
||||
client.msetnx(["mset3", "val3", "mset4", "val4"], helper.isNumber(1));
|
||||
client.exists(["mset3"], helper.isNumber(1));
|
||||
client.exists(["mset3"], helper.isNumber(1, done));
|
||||
});
|
||||
|
Reference in New Issue
Block a user