Revert "Fix test fails"

This reverts commit b9b05a7401.
This commit is contained in:
syuilo 2018-11-05 20:10:00 +09:00
parent b9b05a7401
commit 5744c391e6
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 4 additions and 4 deletions

View File

@ -182,14 +182,14 @@ describe('Text', () => {
it('emoji', () => {
const tokens1 = analyze(':cat:');
assert.deepEqual([
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
{ type: 'emoji', content: ':cat:', name: 'cat'}
], tokens1);
const tokens2 = analyze(':cat::cat::cat:');
assert.deepEqual([
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
{ type: 'emoji', content: ':cat:', name: 'cat'},
{ type: 'emoji', content: ':cat:', name: 'cat'},
{ type: 'emoji', content: ':cat:', name: 'cat'}
], tokens2);
});