From b7fd3889c49e1b411a980361fb654e6ce43ab1a8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Nov 2020 12:42:13 +0900 Subject: [PATCH] Remove outdated test --- test/mfm.ts | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/test/mfm.ts b/test/mfm.ts index 650fabcb8..a32457e89 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -945,49 +945,6 @@ describe('MFM', () => { ]); }); - describe('title', () => { - it('simple', () => { - const tokens = parse('【foo】'); - assert.deepStrictEqual(tokens, [ - tree('title', [ - text('foo') - ], {}) - ]); - }); - - it('require line break', () => { - const tokens = parse('a【foo】'); - assert.deepStrictEqual(tokens, [ - text('a【foo】') - ]); - }); - - it('with before and after texts', () => { - const tokens = parse('before\n【foo】\nafter'); - assert.deepStrictEqual(tokens, [ - text('before\n'), - tree('title', [ - text('foo') - ], {}), - text('after') - ]); - }); - - it('ignore multiple title blocks', () => { - const tokens = parse('【foo】bar【baz】'); - assert.deepStrictEqual(tokens, [ - text('【foo】bar【baz】') - ]); - }); - - it('disallow linebreak in title', () => { - const tokens = parse('【foo\nbar】'); - assert.deepStrictEqual(tokens, [ - text('【foo\nbar】') - ]); - }); - }); - describe('center', () => { it('simple', () => { const tokens = parse('
foo
');