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:
@@ -33,7 +33,7 @@ describe("The 'mget' method", function () {
|
||||
});
|
||||
|
||||
it('handles fetching multiple keys via an array', function (done) {
|
||||
client.MGET(["mget keys 1", "mget keys 2", "mget keys 3"], function (err, results) {
|
||||
client.mget(["mget keys 1", "mget keys 2", "mget keys 3"], function (err, results) {
|
||||
assert.strictEqual("mget val 1", results[0].toString());
|
||||
assert.strictEqual("mget val 2", results[1].toString());
|
||||
assert.strictEqual("mget val 3", results[2].toString());
|
||||
|
Reference in New Issue
Block a user