1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-25 15:46:17 +09:00
This commit is contained in:
syuilo 2018-11-05 20:14:49 +09:00
parent 630a534cee
commit 389f9bfea2
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -191,6 +191,11 @@ describe('Text', () => {
{ type: 'emoji', content: ':cat:', name: 'cat'},
{ type: 'emoji', content: ':cat:', name: 'cat'}
], tokens2);
const tokens3 = analyze('🍎');
assert.deepEqual([
{ type: 'emoji', content: ':cat:', emoji: '🍎'}
], tokens3);
});
it('block code', () => {