aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/webp.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-07-28 19:31:14 +0200
committerMike McQuaid2014-07-28 19:36:09 +0200
commit6714afee1d7d2b1d54d336905fcafdec5b53ca90 (patch)
tree48dce54cc5326eb0e6f2760ec694518b848870ef /Library/Formula/webp.rb
parent8d444b864edb53127c10b55f9685e17e09804db2 (diff)
downloadhomebrew-6714afee1d7d2b1d54d336905fcafdec5b53ca90.tar.bz2
webp: use test fixture image.
Diffstat (limited to 'Library/Formula/webp.rb')
-rw-r--r--Library/Formula/webp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb
index cc5282f08..be67650cf 100644
--- a/Library/Formula/webp.rb
+++ b/Library/Formula/webp.rb
@@ -33,8 +33,8 @@ class Webp < Formula
end
test do
- system "#{bin}/cwebp", \
- "/usr/share/doc/cups/images/cups.png", "-o", "webp_test.png"
+ test_png = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.png"
+ system "#{bin}/cwebp", test_png, "-o", "webp_test.png"
system "#{bin}/dwebp", "webp_test.png", "-o", "webp_test.webp"
end
end