diff --git a/test/mfm.ts b/test/mfm.ts index 684cf42fb..370c63841 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); });