Skip to content

Commit

Permalink
add quote test
Browse files Browse the repository at this point in the history
  • Loading branch information
marihachi committed Jun 12, 2021
1 parent a4a0240 commit 985d24b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 985d24b

Please sign in to comment.