Permalink
Browse files

Merge pull request #65 from twitter/fix_autolink_tests

Fix autolink tests
  • Loading branch information...
2 parents 9740356 + a32b435 commit 217250c7745ff402324917846e1d46830cf887d9 @KL-7 KL-7 committed Jan 9, 2014
Showing with 1 addition and 5 deletions.
  1. +1 −5 autolink.yml
View
@@ -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"
@@ -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"

0 comments on commit 217250c

Please sign in to comment.