This commit is contained in:
syuilo 2018-10-20 09:14:16 +09:00
parent 68cb0123a6
commit 51f3f4e6fc

View file

@ -125,7 +125,8 @@ describe('Text', () => {
const tokens3 = analyze('#Foo!'); const tokens3 = analyze('#Foo!');
assert.deepEqual([ assert.deepEqual([
{ type: 'text', content: '#Foo!' }, { type: 'hashtag', content: '#Foo', hashtag: 'Foo' },
{ type: 'text', content: '!' },
], tokens3); ], tokens3);
}); });