briss: add test (#24884)
This commit is contained in:
parent
94d0d58e65
commit
024b50759f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue