Permalink
Browse files

Add a few more username autolink tests (mostly to test git submodules)

  • Loading branch information...
1 parent 4cb08c8 commit b23c6aaab3fc736c375e14585967009c17fb0371 Matt Sanford committed Jan 22, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 autolink.yml
View
@@ -4,6 +4,12 @@ tests:
- description: "Autolink trailing username"
text: "text @username"
expected: "text @<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>"
+ - description: "Autolink username at the beginning"
+ text: "@username text"
+ expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a> text"
+ - description: "Autolink username preceded by a letter"
+ text: "meet@the beach"
+ expected: "meet@the beach"
lists:
- description: "Autolink trailing list"
text: "text @username/list"

0 comments on commit b23c6aa

Please sign in to comment.