You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fixed MIGRATE function when key is array (#2184)
* fix: 2163 push empty string as arg * fix: updated migrate test with keys array
This commit is contained in:
@@ -13,7 +13,7 @@ describe('MIGRATE', () => {
|
||||
it('multiple keys', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('127.0.0.1', 6379, ['1', '2'], 0, 10),
|
||||
['MIGRATE', '127.0.0.1', '6379', '""', '0', '10', 'KEYS', '1', '2']
|
||||
['MIGRATE', '127.0.0.1', '6379', '', '0', '10', 'KEYS', '1', '2']
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user