Added failing test for #63749

Add skipped test for #63749 so someone can pick this up
This commit is contained in:
Matt Bierner
2018-11-27 12:02:39 -08:00
parent f0ebaad9ac
commit 2f9f0c35cc

View File

@@ -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');
});
});