Skip to content

Commit 2f9f0c3

Browse files
committed
Added failing test for #63749
Add skipped test for #63749 so someone can pick this up
1 parent f0ebaad commit 2f9f0c3

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

extensions/markdown-language-features/src/test/documentSymbolProvider.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,16 @@ suite('markdown.DocumentSymbolProvider', () => {
8282
assert.strictEqual(symbols[0].children[0].name, '### h2');
8383
assert.strictEqual(symbols[0].children[1].name, '## h3');
8484
});
85+
86+
test.skip('Should handle line separator in file. Issue #63749', async () => {
87+
const symbols = await getSymbolsForFile(`# A
88+
- foo

89+
90+
# B
91+
- bar`);
92+
assert.strictEqual(symbols.length, 2);
93+
assert.strictEqual(symbols[0].name, '# A');
94+
assert.strictEqual(symbols[1].name, '# B');
95+
});
8596
});
8697

0 commit comments

Comments
 (0)