From f51d1c52645a97a42491e2d611b4eede411ea201 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 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); });