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

Commit

Permalink
Update test for linkifying mixed case usernames.
Browse files Browse the repository at this point in the history
  • Loading branch information
KL-7 committed Jan 9, 2014
1 parent 217250c commit c5ea5ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autolink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ tests:
text: "@foo îs in the house"
expected: "@<a class=\"tweet-url username\" href=\"https://twitter.com/foo\">foo</a> îs in the house"

- description: "Keep display case when linking MixedCase username"
- description: "Preserve case when linking a username"
text: "@MixedCase"
expected: "@<a class=\"tweet-url username\" href=\"https://twitter.com/mixedcase\">MixedCase</a>"
expected: "@<a class=\"tweet-url username\" href=\"https://twitter.com/MixedCase\">MixedCase</a>"

lists:
- description: "Autolink list preceded by a space"
Expand Down

0 comments on commit c5ea5ad

Please sign in to comment.