From 014b945ea646c3d3eb600c9abc277cffa0e12ae7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 2 Jul 2019 20:08:30 +0900 Subject: [PATCH] Fix test --- test/mfm.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mfm.ts b/test/mfm.ts index 8ef72c9f8..ccef31cd2 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -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') ]); });