This commit is contained in:
syuilo 2018-11-07 21:30:28 +09:00
parent 4c81e400c4
commit b8e1162e2d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -250,9 +250,9 @@ describe('Text', () => {
const tokens4 = analyze('foo\n【bar】\nbuzz');
assert.deepEqual([
{ type: 'foo', content: 'foo\n' },
{ type: 'title', content: '【bar】\n', title: 'bar' },
{ type: 'foo', content: 'buzz' },
{ type: 'text', content: 'foo' },
{ type: 'title', content: '\n【bar】\n', title: 'bar' },
{ type: 'text', content: 'buzz' },
], tokens4);
});
});