Skip to content

Commit c634388

Browse files
committed
update tests
1 parent 3e5e496 commit c634388

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/linter/tests/rules/duplicate-stability-nodes.test.mjs

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ const createEntry = (
1111
position = { line: 1, column: 1 }
1212
) => ({
1313
heading: { data: { depth } },
14-
stability: { children: [{ data: { index: stabilityIndex } }] },
14+
stability: {
15+
children: [{ data: { index: stabilityIndex }, children: [{ position }] }],
16+
},
1517
api_doc_source: source,
16-
yaml_position: position,
1718
});
1819

1920
describe('duplicateStabilityNodes', () => {

0 commit comments

Comments
 (0)