Permalink
Browse files

Merge pull request #27 from twitter/dont_extract_bz2

Add a test case to not extract .bz2 file name as URL.
  • Loading branch information...
2 parents 1978929 + 0da0d8f commit e3c3e455a89272cbf81937e3be46c1e7ad6446f8 @keitaf keitaf committed Mar 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 extract.yml
View
@@ -469,6 +469,10 @@ tests:
text: "$http://twitter.com $twitter.com $http://t.co/abcde $t.co/abcde $t.co $TVI.CA $RBS.CA"
expected: []
+ - description: "DO NOT extract .bz2 file name as URL"
+ text: "long.test.tar.bz2 test.tar.bz2 tar.bz2"
+ expected: []
+
urls_with_indices:
- description: "Extract a URL"
text: "text http://google.com"

0 comments on commit e3c3e45

Please sign in to comment.