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

Commit

Permalink
Make the auto link all test more realistic
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Sanford committed Mar 5, 2010
1 parent e119e95 commit 6741760
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autolink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ tests:
expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/foobar\">http://www.flickr.com/photos/29674651@N00/foobar</a>"

all:
- description: "Autolink url does not overlap @username"
text: "Check out: http://example.com/test&@chasesechrist"
expected: "Check out: <a href=\"http://example.com/test&\">http://example.com/test&</a>@<a class=\"tweet-url username\" href=\"http://twitter.com/chasesechrist\">chasesechrist</a>"
- description: "Autolink all does not break on URL with @"
text: "http://www.flickr.com/photos/29674651@N00/4382024406"
expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/4382024406\">http://www.flickr.com/photos/29674651@N00/4382024406</a>"

0 comments on commit 6741760

Please sign in to comment.