From 185d570d4625b1381ec4812b2fdf8d686d4dfe06 Mon Sep 17 00:00:00 2001 From: "Why are you reading my profile? This will clearly give you a stroke. It was mostly AI-generated, but this was not ai generated, but my username was, and also, you feel like you might enjoy some brain damage" <120068827+ConeDragon@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:38:09 -0400 Subject: [PATCH] add more tests to Markdown --- exercises/practice/markdown/markdown_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/exercises/practice/markdown/markdown_test.py b/exercises/practice/markdown/markdown_test.py index ad6d243a63..142829d64a 100644 --- a/exercises/practice/markdown/markdown_test.py +++ b/exercises/practice/markdown/markdown_test.py @@ -96,6 +96,14 @@ def test_with_markdown_symbols_in_the_paragraph_text_that_should_not_be_interpre "
This is a paragraph with # and * in the text
", ) + def test_with_markdown_symbols_in_more_paragraph_text_that_should_not_be_interpreted( + self, + ): + self.assertEqual( + parse("This is a paragraph with _ and * in the text\nThis is another paragraph with __ and # in the text"), + "This is a paragraph with _ and * in the text
This is another paragraph with __ and # in the text
", + ) + def test_unordered_lists_close_properly_with_preceding_and_following_lines(self): self.assertEqual( parse("# Start a list\n* Item 1\n* Item 2\nEnd a list"),