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

Commit

Permalink
Merge pull request #65 from twitter/fix_autolink_tests
Browse files Browse the repository at this point in the history
Fix autolink tests
  • Loading branch information
KL-7 committed Jan 9, 2014
2 parents 9740356 + a32b435 commit 217250c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions autolink.yml
Expand Up @@ -66,7 +66,7 @@ tests:

- description: "Keep display case when linking MixedCase 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 Expand Up @@ -700,10 +700,6 @@ tests:
text: "$https://twitter.com $twitter.com $http://t.co/abcde $t.co/abcde $t.co $TVI.CA $RBS.CA"
expected: "$https://twitter.com $twitter.com $http://t.co/abcde $t.co/abcde $t.co $TVI.CA $RBS.CA"

- description: "Autolink URLs with unicode chars in them"
text: "See: http://example.com/tsa-pre✓™ is a link"
expected: "See: <a href=\"http://example.com/tsa-pre✓™\">http://example.com/tsa-pre✓™</a> is a link"

cashtags:
- description: "Autolink a cashtag"
text: "$STOCK"
Expand Down

0 comments on commit 217250c

Please sign in to comment.