aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/optipng.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/optipng.rb b/Library/Formula/optipng.rb
index d60364e3e..5ffd6edd4 100644
--- a/Library/Formula/optipng.rb
+++ b/Library/Formula/optipng.rb
@@ -14,6 +14,10 @@ class Optipng < Formula
"--mandir=#{man}"
system "make", "install"
end
+
+ test do
+ system "#{bin}/optipng", "-simulate", test_fixtures("test.png")
+ end
end
__END__