0
0
This commit is contained in:
syuilo 2019-07-02 20:08:30 +09:00
parent 76693138d3
commit 014b945ea6
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -844,11 +844,11 @@ describe('MFM', () => {
});
it('ignore parent []', () => {
const tokens = parse('[https://example.com/foo]');
const tokens = parse('foo [https://example.com/foo] bar');
assert.deepStrictEqual(tokens, [
text('['),
text('foo ['),
leaf('url', { url: 'https://example.com/foo' }),
text(']')
text('] bar')
]);
});