[Test] Add a MFM test

This commit is contained in:
syuilo 2019-01-27 13:48:56 +09:00
parent 085325e65f
commit 71210595d2
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -901,6 +901,13 @@ describe('MFM', () => {
text('【foo】bar【baz】')
]);
});
it('disallow linebreak in title', () => {
const tokens = analyze('【foo\nbar】');
assert.deepStrictEqual(tokens, [
text('【foo\nbar】')
]);
});
});
describe('center', () => {