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:
@@ -23,7 +23,7 @@ describe("The 'hmget' method", function () {
|
||||
});
|
||||
|
||||
it('allows keys to be specified using multiple arguments', function (done) {
|
||||
client.HMGET(hash, "0123456789", "some manner of key", function (err, reply) {
|
||||
client.hmget(hash, "0123456789", "some manner of key", function (err, reply) {
|
||||
assert.strictEqual("abcdefghij", reply[0].toString());
|
||||
assert.strictEqual("a type of value", reply[1].toString());
|
||||
return done(err);
|
||||
|
Reference in New Issue
Block a user