From 70d37edfc7b08c4c8a41d5aea49422a5a6792059 Mon Sep 17 00:00:00 2001 From: commitay Date: Mon, 17 Sep 2018 09:59:23 +1000 Subject: [PATCH] pdfsandwich: revert "update test" --- Formula/pdfsandwich.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/pdfsandwich.rb b/Formula/pdfsandwich.rb index 9318558917..98b73586f5 100644 --- a/Formula/pdfsandwich.rb +++ b/Formula/pdfsandwich.rb @@ -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