From e2f4ba46ffed43e5f5cce08bf02f4e893b81655a Mon Sep 17 00:00:00 2001 From: hkdobrev Date: Tue, 23 Jul 2013 00:02:35 +0300 Subject: [PATCH] Added test coverage for multiple nesting of lists Specifically this line was not covered by the tests: https://github.com/erusev/parsedown/blob/78cad3964c9652e24d4e4fcf398b83d0a58b9fa1/Parsedown.php#L343 --- tests/data/unordered_list.html | 14 +++++++++++++- tests/data/unordered_list.md | 8 +++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/tests/data/unordered_list.html b/tests/data/unordered_list.html index 286feb0..dff30a3 100644 --- a/tests/data/unordered_list.html +++ b/tests/data/unordered_list.html @@ -17,4 +17,16 @@

Here's one with no space after markers:

-list item --another list item

\ No newline at end of file +-another list item

+

Here's one with different indentation level:

+ \ No newline at end of file diff --git a/tests/data/unordered_list.md b/tests/data/unordered_list.md index 0e1717d..7b3df37 100644 --- a/tests/data/unordered_list.md +++ b/tests/data/unordered_list.md @@ -18,4 +18,10 @@ Here's one with white space around items: Here's one with no space after markers: -list item --another list item \ No newline at end of file +-another list item + +Here's one with different indentation level: + +- list item + - more indented list item + - even more \ No newline at end of file