scrub: fix brew audit warning

Closes Homebrew/homebrew#50328.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Andrea 2016-03-22 14:35:56 -07:00 committed by Xu Cheng
parent 51bd7d5e5e
commit a2e480c44f

View file

@ -31,7 +31,7 @@ class Scrub < Formula
path.write "foo"
output = `#{bin}/scrub -r -p dod #{path}`
assert output.include?("scrubbing #{path}")
assert_match "scrubbing #{path}", output
assert_equal 0, $?.exitstatus
assert !File.exist?(path)
end