[Test] Add MFM test
This commit is contained in:
parent
9dd21a19ff
commit
501b07c383
|
@ -247,6 +247,13 @@ describe('Text', () => {
|
|||
assert.deepEqual(
|
||||
{ type: 'text', content: 'a [a]\nb [b]\nc [c]' }
|
||||
, tokens3[0]);
|
||||
|
||||
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' },
|
||||
], tokens4);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue