From 70d0937aab71de6e9fb475e01940bebde3b6d77d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 20 Oct 2018 09:03:04 +0900 Subject: Fix #2949 --- test/mfm.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/mfm.ts b/test/mfm.ts index ad12eac7b7..684cf42fbc 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -122,6 +122,11 @@ describe('Text', () => { { type: 'hashtag', content: '#piyo', hashtag: 'piyo' }, { type: 'text', content: '.' } ], tokens2); + + const tokens3 = analyze('#Foo!'); + assert.deepEqual([ + { type: 'text', content: '#Foo!' }, + ], tokens3); }); it('quote', () => { -- cgit v1.2.3-freya