Fix test
This commit is contained in:
parent
70d0937aab
commit
f51d1c5264
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue