This commit is contained in:
syuilo 2018-10-20 09:03:04 +09:00
parent 7d1ab6102f
commit 70d0937aab
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 7 additions and 2 deletions

View file

@ -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', () => {