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

Add a test case to not extract .bz2 file name as URL. #27

Merged
merged 1 commit into from Mar 26, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions extract.yml
Expand Up @@ -442,6 +442,10 @@ tests:
text: "$http://twitter.com $twitter.com $http://t.co/abcde $t.co/abcde $t.co $TVI.CA $RBS.CA" text: "$http://twitter.com $twitter.com $http://t.co/abcde $t.co/abcde $t.co $TVI.CA $RBS.CA"
expected: [] expected: []


- description: "DO NOT extract .bz2 file name as URL"
text: "long.test.tar.bz2 test.tar.bz2 tar.bz2"
expected: []

urls_with_indices: urls_with_indices:
- description: "Extract a URL" - description: "Extract a URL"
text: "text http://google.com" text: "text http://google.com"
Expand Down