From 934c97b342580ed98fc7eb36af74793a6c7faff8 Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Wed, 31 Jul 2013 19:17:22 -0400 Subject: [PATCH] Test img tag conversion --- tests/test_conversions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_conversions.py b/tests/test_conversions.py index e0922dd..3edb50d 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -62,3 +62,8 @@ def test_strong(): def test_ul(): assert md('') == '* a\n* b\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)'