diff --git a/test/mfm.ts b/test/mfm.ts index 0de2e6b2c1..9f95d93b53 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -277,6 +277,22 @@ describe('MFM', () => { ]); }); + it('multi', () => { + const tokens = parse(':foo::foo:'); + assert.deepStrictEqual(tokens, [ + tree('spin', [ + leaf('emoji', { name: 'foo' }) + ], { + attr: 'left' + }), + tree('spin', [ + leaf('emoji', { name: 'foo' }) + ], { + attr: 'left' + }), + ]); + }); + it('nested', () => { const tokens = parse(':foo:'); assert.deepStrictEqual(tokens, [