summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mfm.ts5
1 files changed, 5 insertions, 0 deletions
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', () => {