Permalink
Browse files

Merge pull request #47 from twitter/i18n_url

add test case for i18n URL
  • Loading branch information...
2 parents 8680266 + 3503026 commit 0ad34dc32012017167388af9250107a47d8d452a @caniszczyk caniszczyk committed Sep 2, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 extract.yml
View
@@ -556,6 +556,12 @@ tests:
- url: "http://t.co"
indices: [12, 23]
+ - description: "Extract I18N URL"
+ text: "test http://xn--ls8h.XN--ls8h.la/"
+ expected:
+ - url: "http://xn--ls8h.XN--ls8h.la/"
+ indices: [5, 33]
+
hashtags:
- description: "Extract an all-alpha hashtag"
text: "a #hashtag here"

0 comments on commit 0ad34dc

Please sign in to comment.