diff --git a/test/mfm.ts b/test/mfm.ts index 684cf42fbc..370c638416 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -125,7 +125,8 @@ describe('Text', () => { const tokens3 = analyze('#Foo!'); assert.deepEqual([ - { type: 'text', content: '#Foo!' }, + { type: 'hashtag', content: '#Foo', hashtag: 'Foo' }, + { type: 'text', content: '!' }, ], tokens3); });