Permalink
Browse files

Merge pull request #67 from twitter/fix_autolink_tests

Update test for linkifying mixed case usernames.
  • Loading branch information...
2 parents 217250c + c5ea5ad commit dc8e01c0248f869de8cf1146390d08daade4e377 @KL-7 KL-7 committed Jan 9, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 autolink.yml
View
@@ -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"

0 comments on commit dc8e01c

Please sign in to comment.