提交 2f9f0c35 编写于 作者: M Matt Bierner

Added failing test for #63749

Add skipped test for #63749 so someone can pick this up
上级 f0ebaad9
......@@ -82,5 +82,16 @@ suite('markdown.DocumentSymbolProvider', () => {
assert.strictEqual(symbols[0].children[0].name, '### h2');
assert.strictEqual(symbols[0].children[1].name, '## h3');
});
test.skip('Should handle line separator in file. Issue #63749', async () => {
const symbols = await getSymbolsForFile(`# A
- foo

# B
- bar`);
assert.strictEqual(symbols.length, 2);
assert.strictEqual(symbols[0].name, '# A');
assert.strictEqual(symbols[1].name, '# B');
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册