From b9b05a74017c37ae23986c005deac0a3465d497c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Mon, 5 Nov 2018 19:50:38 +0900 Subject: [PATCH] Fix test fails --- test/mfm.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mfm.ts b/test/mfm.ts index 5103d94131..1aadcd21e8 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -182,14 +182,14 @@ describe('Text', () => { it('emoji', () => { const tokens1 = analyze(':cat:'); assert.deepEqual([ - { type: 'emoji', content: ':cat:', name: 'cat'} + { type: 'emoji', content: ':cat:', emoji: 'cat'} ], tokens1); const tokens2 = analyze(':cat::cat::cat:'); assert.deepEqual([ - { type: 'emoji', content: ':cat:', name: 'cat'}, - { type: 'emoji', content: ':cat:', name: 'cat'}, - { type: 'emoji', content: ':cat:', name: 'cat'} + { type: 'emoji', content: ':cat:', emoji: 'cat'}, + { type: 'emoji', content: ':cat:', emoji: 'cat'}, + { type: 'emoji', content: ':cat:', emoji: 'cat'} ], tokens2); });