Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Add case sensitivity test for link without protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Sanford committed Jan 27, 2010
1 parent e2fd9a2 commit 8e920e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autolink.yml
Expand Up @@ -226,3 +226,7 @@ tests:
- description: "Autolink url without protocol (with www)"
text: "www.example.com"
expected: "<a href=\"http://www.example.com\">www.example.com</a>"

- description: "Autolink url without protocol (with WWW)"
text: "WWW.EXAMPLE.COM"
expected: "<a href=\"http://WWW.EXAMPLE.COM\">WWW.EXAMPLE.COM</a>"

0 comments on commit 8e920e6

Please sign in to comment.