Permalink
Browse files

Make the auto link all test more realistic

  • Loading branch information...
1 parent e119e95 commit 67417609b416dfde48567bd6753ddc68a32fc7eb Matt Sanford committed Mar 5, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 autolink.yml
View
@@ -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.