From 0471ac916a34483674410670c75503070182a627 Mon Sep 17 00:00:00 2001 From: karginoleg <167555950+karginoleg@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:09:00 +0300 Subject: [PATCH] Update markdown_test.py Add test to check if two unordered lists are separated properly --- exercises/practice/markdown/markdown_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/exercises/practice/markdown/markdown_test.py b/exercises/practice/markdown/markdown_test.py index ad6d243a63..090991fb28 100644 --- a/exercises/practice/markdown/markdown_test.py +++ b/exercises/practice/markdown/markdown_test.py @@ -101,3 +101,9 @@ def test_unordered_lists_close_properly_with_preceding_and_following_lines(self) parse("# Start a list\n* Item 1\n* Item 2\nEnd a list"), "

Start a list

End a list

", ) + + def test_two_unordered_lists_separated_properly(self): + self.assertEqual( + parse("# Start list 1\n* Item 1\nEnd list 1\n# Start list 2\n* Item 1\n* Item 2\nEnd list 2"), + "

Start list 1

End list 1

Start list 2

End list 2

", + )