Skip to content

Commit

Permalink
More punctuation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Oct 8, 2012
1 parent eaa6774 commit 7227e29
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/data/url.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,26 @@
"test":"(www.example.com/example.php)",
"expected":"(<a href=\"http://www.example.com/example.php\">www.example.com/example.php</a>)"
},
{
"test":".http://www.example.com",
"expected":".<a href=\"http://www.example.com\">http://www.example.com</a>"
},
{
"test":"/http://www.example.com",
"expected":"/<a href=\"http://www.example.com\">http://www.example.com</a>"
},
{
"test":"\"http://www.example.com\"",
"expected":"\"<a href=\"http://www.example.com\">http://www.example.com</a>\""
},
{
"test":"'http://www.example.com'",
"expected":"'<a href=\"http://www.example.com\">http://www.example.com</a>'"
},
{
"test":"\"example.com/\"",
"expected":"\"<a href=\"http://example.com/\">example.com/</a>\""
},
{
"test":"http://mail.example.com/example/[email protected]",
"expected":"<a href=\"http://mail.example.com/example/[email protected]\">http://mail.example.com/example/[email protected]</a>"
Expand Down

0 comments on commit 7227e29

Please sign in to comment.