Skip to content
Browse files

Add an auto link test for github issue #9

  • Loading branch information...
1 parent 50a54a8 commit 3ba7c4591e2753e21aa6e122307f6de21847e6cc Matt Sanford committed Jul 12, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -311,3 +311,7 @@ tests:
- description: "Autolink all does not allow & without ?"
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: "Currently handles URL follower directly by @user"
+ text: "See: http://example.com/@user"
+ expected: "See: <a href=\"http://example.com/\">http://example.com/</a>@<a class=\"tweet-url username\" href=\"http://twitter.com/user\">user</a>"

0 comments on commit 3ba7c45

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