diff --git a/test/mfm.ts b/test/mfm.ts
index 0de2e6b2c..9f95d93b5 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, [