mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 05:57:32 -07:00
Fix test
This commit is contained in:
parent
f4445c11ec
commit
eb564f4987
1 changed files with 3 additions and 3 deletions
|
@ -844,11 +844,11 @@ describe('MFM', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('ignore parent []', () => {
|
it('ignore parent []', () => {
|
||||||
const tokens = parse('[https://example.com/foo]');
|
const tokens = parse('foo [https://example.com/foo] bar');
|
||||||
assert.deepStrictEqual(tokens, [
|
assert.deepStrictEqual(tokens, [
|
||||||
text('['),
|
text('foo ['),
|
||||||
leaf('url', { url: 'https://example.com/foo' }),
|
leaf('url', { url: 'https://example.com/foo' }),
|
||||||
text(']')
|
text('] bar')
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue