浏览代码

Added a missing test.

Piotrek Koszuliński 9 年之前
父节点
当前提交
c3dab122cb
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      packages/ckeditor5-markdown-gfm/tests/gfmdataprocessor/headers.js

+ 9 - 0
packages/ckeditor5-markdown-gfm/tests/gfmdataprocessor/headers.js

@@ -108,5 +108,14 @@ describe( 'GFMDataProcessor', () => {
 				'<h1>header</h1><h2>header</h2><h3>header</h3>'
 			);
 		} );
+
+		it( 'should process headers followed by a paragraph', () => {
+			test(
+				'# header\n\n' +
+				'paragraph',
+
+				'<h1>header</h1><p>paragraph</p>'
+			);
+		} );
 	} );
 } );