diff --git a/Formula/briss.rb b/Formula/briss.rb index 8e1cb5f193..2a66965ac7 100644 --- a/Formula/briss.rb +++ b/Formula/briss.rb @@ -10,4 +10,10 @@ class Briss < Formula libexec.install Dir["*.jar"] bin.write_jar_script libexec/"briss-#{version}.jar", "briss" end + + test do + cp test_fixtures("test.pdf"), testpath + system "#{bin}/briss", "-s", "test.pdf", "-d", "output.pdf" + assert_predicate testpath/"output.pdf", :exist? + end end