summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-04 16:53:48 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-04 16:53:48 -0400
commit455b88efc5871a6f5a2c7dc81b002c14a15cf049 (patch)
tree5bef681ae7d0a5ceb8059c95618af5d7ad62ab34
parente73be3ef8443378c883c288a10e3381f1b871387 (diff)
downloadaskbot-455b88efc5871a6f5a2c7dc81b002c14a15cf049.tar.gz
askbot-455b88efc5871a6f5a2c7dc81b002c14a15cf049.tar.bz2
askbot-455b88efc5871a6f5a2c7dc81b002c14a15cf049.zip
fixed test case for newer markdown2
-rw-r--r--askbot/tests/markup_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/tests/markup_test.py b/askbot/tests/markup_test.py
index 9cdc429f..170f0e34 100644
--- a/askbot/tests/markup_test.py
+++ b/askbot/tests/markup_test.py
@@ -91,7 +91,7 @@ class MarkdownTestCase(TestCase):
def test_full_link_converts_to_anchor(self):
text = """text http://example.com/ text"""
- expected ="""<p>text <a href="http://example.com">http://example.com</a>/ text</p>\n"""
+ expected ="""<p>text <a href="http://example.com/">http://example.com/</a> text</p>\n"""
#todo: note there is a weird artefact produced by markdown2 inself
#trailing slash after the closing </a> tag
#the artifact is produced by _do_auto_links() function