This commit is contained in:
syuilo 2018-11-07 21:30:28 +09:00
parent 2650eca7a1
commit 25b0cbccc5

View file

@ -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);
}); });
}); });