aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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