From 51f3f4e6fc77b765c45c7396e901af78d342adf1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 20 Oct 2018 09:14:16 +0900 Subject: [PATCH] Fix test --- test/mfm.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); });