mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 19:13:08 +02:00
Fix test
This commit is contained in:
parent
4c81e400c4
commit
b8e1162e2d
1 changed files with 3 additions and 3 deletions
|
@ -250,9 +250,9 @@ describe('Text', () => {
|
||||||
|
|
||||||
const tokens4 = analyze('foo\n【bar】\nbuzz');
|
const tokens4 = analyze('foo\n【bar】\nbuzz');
|
||||||
assert.deepEqual([
|
assert.deepEqual([
|
||||||
{ type: 'foo', content: 'foo\n' },
|
{ type: 'text', content: 'foo' },
|
||||||
{ type: 'title', content: '【bar】\n', title: 'bar' },
|
{ type: 'title', content: '\n【bar】\n', title: 'bar' },
|
||||||
{ type: 'foo', content: 'buzz' },
|
{ type: 'text', content: 'buzz' },
|
||||||
], tokens4);
|
], tokens4);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue