You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix LCS IDX
This commit is contained in:
@@ -21,12 +21,12 @@ describe('LCS IDX', () => {
|
||||
client.lcsIdx('1', '2')
|
||||
]);
|
||||
|
||||
console.log(reply);
|
||||
|
||||
assert.deepEqual(
|
||||
reply,
|
||||
{
|
||||
matches: [[[1, 2], [0, 1]]],
|
||||
matches: [
|
||||
[[1, 2], [0, 1]]
|
||||
],
|
||||
len: 2
|
||||
}
|
||||
);
|
||||
|
@@ -21,12 +21,15 @@ describe('LCS IDX WITHMATCHLEN', () => {
|
||||
client.lcsIdxWithMatchLen('1', '2')
|
||||
]);
|
||||
|
||||
console.log(reply);
|
||||
|
||||
assert.deepEqual(
|
||||
reply,
|
||||
{
|
||||
matches: [
|
||||
[[[1, 2], [0, 1]]],
|
||||
2
|
||||
[
|
||||
[[1, 2], [0, 1], 2]
|
||||
],
|
||||
],
|
||||
len: 2
|
||||
}
|
||||
|
Reference in New Issue
Block a user