Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update test for linkifying mixed case usernames.

  • Loading branch information...
commit c5ea5ad6813ed783aadde75f8a08159e132ac3d9 1 parent 217250c
Kirill Lashuk KL-7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 autolink.yml
4 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"
Please sign in to comment.
Something went wrong with that request. Please try again.