pdfsandwich: revert "update test"

This commit is contained in:
commitay 2018-09-17 09:59:23 +10:00
parent 48c3000324
commit 70d37edfc7

View file

@ -32,9 +32,9 @@ class Pdfsandwich < Formula
end
test do
# Cannot test more than this without removing our default security
# policy for Imagemagick, which this formula isn't popular enough
# to justify doing.
assert_match version.to_s, shell_output("#{bin}/pdfsandwich -version")
system "#{bin}/pdfsandwich", "-o", testpath/"test_ocr.pdf",
test_fixtures("test.pdf")
assert_predicate testpath/"test_ocr.pdf", :exist?,
"Failed to create ocr file"
end
end