Skip to content

Commit

Permalink
bulk_extractor: https url in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats authored and fxcoudert committed Mar 16, 2017
1 parent 3e42c50 commit f01ecca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/bulk_extractor.rb
Expand Up @@ -40,12 +40,12 @@ def install

test do
input_file = testpath/"data.txt"
input_file.write "http://brew.sh\n(201)555-1212\n"
input_file.write "https://brew.sh\n(201)555-1212\n"

output_dir = testpath/"output"
system "#{bin}/bulk_extractor", "-o", output_dir, input_file

assert_match "http://brew.sh", (output_dir/"url.txt").read
assert_match "https://brew.sh", (output_dir/"url.txt").read
assert_match "(201)555-1212", (output_dir/"telephone.txt").read
end
end

0 comments on commit f01ecca

Please sign in to comment.