Fix test
This commit is contained in:
parent
70d0937aab
commit
f51d1c5264
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user