summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-20 09:03:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-20 09:03:04 +0900
commit70d0937aab71de6e9fb475e01940bebde3b6d77d (patch)
tree9ef85da0fd95be458111c0f0a2c6345a47264566 /test
parent10.27.0 (diff)
downloadmisskey-70d0937aab71de6e9fb475e01940bebde3b6d77d.tar.gz
misskey-70d0937aab71de6e9fb475e01940bebde3b6d77d.tar.bz2
misskey-70d0937aab71de6e9fb475e01940bebde3b6d77d.zip
Fix #2949
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', () => {