Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added test for two usernames

  • Loading branch information...
commit 73eff47cce7ea007dcb11e6f4b363942dc594467 1 parent e19bd12
@bcherry bcherry authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -52,6 +52,10 @@ tests:
- description: "DO NOT Autolink username over 20 characters"
text: "@username9012345678901"
expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username901234567890\">username901234567890</a>1"
+
+ - description: "Autolink two usernames"
+ text: "@foo @bar"
+ expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a> @<a class=\"tweet-url username\" href=\"http://twitter.com/bar\">bar</a>"
lists:
- description: "Autolink list preceded by a space"
text: "text @username/list"
Please sign in to comment.
Something went wrong with that request. Please try again.