diff --git a/tornado/test/escape_test.py b/tornado/test/escape_test.py index 4baa70d2..defca1ba 100644 --- a/tornado/test/escape_test.py +++ b/tornado/test/escape_test.py @@ -125,6 +125,10 @@ linkify_tests = [ ("www.external-link.com and www.internal-link.com/blogs extra", {"extra_params": lambda(href):'class="internal"' if href.startswith("http://www.internal-link.com") else 'rel="nofollow" class="external"'}, u'www.external-link.com and www.internal-link.com/blogs extra'), + + ("www.external-link.com", + {"extra_params": lambda(href):' rel="nofollow" class="external" '}, + u'www.external-link.com'), ]