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

Commit

Permalink
now .bar is gTLD
Browse files Browse the repository at this point in the history
http://www.iana.org/domains/root/db
http://www.iana.org/whois?q=bar
to avoid that twitter-text's tests will fail in the future
  • Loading branch information
Kazuyuki Kohno committed Mar 10, 2014
1 parent dc8e01c commit dfc2554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract.yml
Expand Up @@ -309,7 +309,7 @@ tests:
expected: ["foo.com", "foo.net", "foo.org", "foo.edu", "foo.gov"]

- description: "Extract URLs without protocol not on (com|org|edu|gov|net) domains"
text: "foo.bar foo.co.jp www.foo.bar www.foo.co.uk wwwww.foo foo.comm foo.somecom foo.govedu foo.jp"
text: "foo.baz foo.co.jp www.foo.baz www.foo.co.uk wwwww.foo foo.comm foo.somecom foo.govedu foo.jp"
expected: ["foo.co.jp", "www.foo.co.uk"]

- description: "Extract URLs without protocol on ccTLD with slash"
Expand Down

0 comments on commit dfc2554

Please sign in to comment.