Skip to content
Browse files

Add a .co.jp autolink test

  • Loading branch information...
1 parent 00710e6 commit 056022c26018934fc0860f952f7fc64c48ff4588 Matt Sanford committed Apr 26, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -151,6 +151,10 @@ tests:
text: "I enjoy Macintosh Brand computers: http://✪df.ws/ejp"
expected: "I enjoy Macintosh Brand computers: <a href=\"http://✪df.ws/ejp\">http://✪df.ws/ejp</a>"
+ - description: "Autolink url with .co. under TLD"
+ text: "test http://www.example.co.jp"
+ expected: "test <a href=\"http://www.example.co.jp\">http://www.example.co.jp</a>"
+
- description: "DO NOT Autolink url containing ! character in the domain"
text: "badly formatted http://foo!bar.com"
expected: "badly formatted http://foo!bar.com"

0 comments on commit 056022c

Please sign in to comment.
Something went wrong with that request. Please try again.