Skip to content

Commit 7df2176

Browse files
committed
fix: get name in BItmapset/Relids test instead of description
Forgot to update tests, when started to show bms value in name instead of description
1 parent c686a5d commit 7df2176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/suite/variables.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ suite('Variables', async function () {
486486

487487
const elementsMember = getMember(childrenItems, '$elements$');
488488
const elements = await expand(elementsMember);
489-
const values = elements.map(v => v.item.description);
489+
const values = elements.map(v => v.item.getName());
490490
assert.deepEqual(values, ['5', '6', '7', '8', '9'],
491491
'Bitmapset does not contains valid numbers');
492492
});
@@ -514,7 +514,7 @@ suite('Variables', async function () {
514514

515515
const elementsMember = getMember(allBaseRelsChildren, '$elements$');
516516
const allBaseRelsElements = await expand(elementsMember);
517-
const relids = allBaseRelsElements.map(i => i.item.description);
517+
const relids = allBaseRelsElements.map(i => i.item.getName());
518518
assert.deepEqual(relids, ['1', '2'], 'Invalid values for relids');
519519

520520
/* Check each has link to 'RelOptInfo' and 'RangeTblEntry' */

0 commit comments

Comments
 (0)