Permalink
Browse files

Add a test for two valid domains divided by a space

  • Loading branch information...
Matt Sanford
Matt Sanford committed Mar 5, 2010
1 parent 72f6671 commit 0aeb41821b56c8f80813656fb964e24e7c4ef84a
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
@@ -243,6 +243,10 @@ tests:
text: "WWW.EXAMPLE.COM"
expected: "<a href=\"http://WWW.EXAMPLE.COM\">WWW.EXAMPLE.COM</a>"
+ - description: "Autolink raw domain followed by domain"
+ text: "See http://example.com example.com"
+ expected: "See <a href=\"http://example.com\">http://example.com</a> example.com"
+
all:
- description: "Autolink url does not overlap @username"
text: "Check out: http://example.com/test&@chasesechrist"

0 comments on commit 0aeb418

Please sign in to comment.