jasper: add test

Closes #6455.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Dominyk Tiller 2016-11-01 01:03:19 +00:00 committed by ilovezfs
parent 00830df51e
commit 4050a97496

View file

@ -32,4 +32,10 @@ class Jasper < Formula
"--mandir=#{man}"
system "make", "install"
end
test do
system bin/"jasper", "--input", test_fixtures("test.jpg"),
"--output", "test.bmp"
assert_predicate testpath/"test.bmp", :exist?
end
end