briss: add test (#24884)

This commit is contained in:
gigaflw 2018-03-06 21:07:49 +08:00 committed by FX Coudert
parent 94d0d58e65
commit 024b50759f

View file

@ -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