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

Commit

Permalink
Add a few more username autolink tests (mostly to test git submodules)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Sanford committed Jan 22, 2010
1 parent 4cb08c8 commit b23c6aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autolink.yml
Expand Up @@ -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"
Expand Down

0 comments on commit b23c6aa

Please sign in to comment.