From aa10053fbb118b7ebebbe4d01d00953f9fdfc926 Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Wed, 31 Jul 2013 23:07:38 -0400 Subject: [PATCH] Test custom bullets --- tests/test_conversions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_conversions.py b/tests/test_conversions.py index 8a2ed46..af4b54f 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -113,6 +113,10 @@ def test_nested_uls(): assert md(nested_uls) == '* 1\n\t+ a\n\t\t- I\n\t\t- II\n\t\t- III\n\t\t\n\t+ b\n\t+ c\n\t\n* 2\n* 3\n' +def test_bullets(): + assert md(nested_uls, bullets='-') == '- 1\n\t- a\n\t\t- I\n\t\t- II\n\t\t- III\n\t\t\n\t- b\n\t- c\n\t\n- 2\n- 3\n' + + def test_img(): assert md('Alt text') == '![Alt text](/path/to/img.jpg "Optional title")' assert md('Alt text') == '![Alt text](/path/to/img.jpg)'