add quote test

This commit is contained in:
marihachi 2021-06-12 12:53:11 +09:00
parent a4a0240d83
commit 985d24b4bd

View file

@ -129,6 +129,20 @@ describe('FullParser', () => {
];
assert.deepStrictEqual(mfm.parse(input), output);
});
it('引用ブロックの後ろの空行は無視される', () => {
const input = `
> foo
> bar
hoge`;
const output = [
QUOTE([
TEXT('foo\nbar')
]),
TEXT('hoge')
];
assert.deepStrictEqual(mfm.parse(input), output);
});
});
describe('search', () => {