From 08f44ce7e60f61a2a87a71ee033b045b8d995125 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 21 Feb 2017 02:21:25 +0000 Subject: tests.tests.mdl_style: Add tests for `mdl_style.LSRenderer`. * TODO: Update file. * tests/data/does_not_parse_blockquotes_00.md: Add file. * tests/data/does_not_parse_codeblocks_00.md: Add file. * tests/data/does_not_parse_headers_00.md: Add file. * tests/data/does_not_parse_hrules_00.md: Add file. * tests/data/does_not_parse_link_breaks_00.md: Add file. * tests/data/does_not_parse_lists_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_headers): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_lists): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules): Add test method. --- tests/data/does_not_parse_lists_00.md | 71 +++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 tests/data/does_not_parse_lists_00.md (limited to 'tests/data/does_not_parse_lists_00.md') diff --git a/tests/data/does_not_parse_lists_00.md b/tests/data/does_not_parse_lists_00.md new file mode 100644 index 0000000..ea4150c --- /dev/null +++ b/tests/data/does_not_parse_lists_00.md @@ -0,0 +1,71 @@ +* Red +* Green +* Blue + ++ Red ++ Green ++ Blue + +- Red +- Green +- Blue + +1. Bird +2. McHale +3. Parish + +1. Bird +1. McHale +1. Parish + +3. Bird +1. McHale +8. Parish + +* Lorem ipsum dolor sit amet, consectetuer adipiscing elit. + Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, + viverra nec, fringilla in, laoreet vitae, risus. +* Donec sit amet nisl. Aliquam semper ipsum sit amet velit. + Suspendisse id sem consectetuer libero luctus adipiscing. + +* Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, +viverra nec, fringilla in, laoreet vitae, risus. +* Donec sit amet nisl. Aliquam semper ipsum sit amet velit. +Suspendisse id sem consectetuer libero luctus adipiscing. + +* Bird +* Magic + +* Bird + +* Magic + +1. This is a list item with two paragraphs. Lorem ipsum dolor + sit amet, consectetuer adipiscing elit. Aliquam hendrerit + mi posuere lectus. + + Vestibulum enim wisi, viverra nec, fringilla in, laoreet + vitae, risus. Donec sit amet nisl. Aliquam semper ipsum + sit amet velit. + +2. Suspendisse id sem consectetuer libero luctus adipiscing. + +* This is a list item with two paragraphs. + + This is the second paragraph in the list item. You're +only required to indent the first line. Lorem ipsum dolor +sit amet, consectetuer adipiscing elit. + +* Another item in the same list. + +* A list item with a blockquote: + + > This is a blockquote + > inside a list item. + +* A list item with a code block: + + + +1986\. What a great season. -- cgit v1.2.3