mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Fix test
This commit is contained in:
parent
f4445c11ec
commit
eb564f4987
@ -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')
|
||||
]);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user