Skip to content

Commit 3e5c94d

Browse files
committed
changed transaction test
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
1 parent a4134ec commit 3e5c94d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

node/tests/TestUtilities.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,13 @@ export async function transactionTest(
450450
ListDirection.LEFT,
451451
);
452452
args.push(field + "3").toString();
453+
baseTransaction.lpopCount(key5, 2);
454+
args.push([field + "2"]);
455+
} else {
456+
baseTransaction.lpopCount(key5, 2);
457+
args.push([field + "3", field + "2"]);
453458
}
454459

455-
baseTransaction.lpopCount(key5, 2);
456-
args.push([field + "2"]);
457460
baseTransaction.linsert(
458461
key5,
459462
InsertPosition.Before,

0 commit comments

Comments
 (0)