Skip to content

Commit dd5dd67

Browse files
committed
fix LCS IDX
1 parent 37be30a commit dd5dd67

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packages/client/lib/commands/LCS_IDX.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ describe('LCS IDX', () => {
2121
client.lcsIdx('1', '2')
2222
]);
2323

24-
console.log(reply);
25-
2624
assert.deepEqual(
2725
reply,
2826
{
29-
matches: [[[1, 2], [0, 1]]],
27+
matches: [
28+
[[1, 2], [0, 1]]
29+
],
3030
len: 2
3131
}
3232
);

packages/client/lib/commands/LCS_IDX_WITHMATCHLEN.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ describe('LCS IDX WITHMATCHLEN', () => {
2121
client.lcsIdxWithMatchLen('1', '2')
2222
]);
2323

24+
console.log(reply);
25+
2426
assert.deepEqual(
2527
reply,
2628
{
2729
matches: [
28-
[[[1, 2], [0, 1]]],
29-
2
30+
[
31+
[[1, 2], [0, 1], 2]
32+
],
3033
],
3134
len: 2
3235
}

0 commit comments

Comments
 (0)