tracks/python/exercises/markdown/markdown_test.py in trackler-2.2.1.51 vs tracks/python/exercises/markdown/markdown_test.py in trackler-2.2.1.52

- old
+ new

@@ -1,10 +1,10 @@ import unittest from markdown import parse_markdown -# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class TestMarkdown(unittest.TestCase): def test_paragraph(self): @@ -35,11 +35,11 @@ self.assertEqual(parse_markdown( '###### This will be an h6'), '<h6>This will be an h6</h6>') def test_unordered_lists(self): self.assertEqual(parse_markdown('* Item 1\n* Item 2'), - '<ul><li><p>Item 1</p></li>' - '<li><p>Item 2</p></li></ul>') + '<ul><li>Item 1</li>' + '<li>Item 2</li></ul>') def test_little_bit_of_everything(self): self.assertEqual(parse_markdown( '# Header!\n* __Bold Item__\n* _Italic Item_'), '<h1>Header!</h1><ul><li><strong>Bold Item</strong></li>'