mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
Fix test
This commit is contained in:
parent
76693138d3
commit
014b945ea6
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