From 6feb42cb2b33054b37b83b03257d38d4fa206c0e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 28 Jul 2014 19:32:21 +0200 Subject: swftools: use test fixture image. --- Library/Formula/swftools.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/swftools.rb b/Library/Formula/swftools.rb index 43d005da2..f007416e4 100644 --- a/Library/Formula/swftools.rb +++ b/Library/Formula/swftools.rb @@ -32,7 +32,8 @@ class Swftools < Formula end test do - system "#{bin}/png2swf", "swftools_test.swf", "/usr/share/doc/cups/images/cups.png" + test_png = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.png" + system "#{bin}/png2swf", "swftools_test.swf", test_png end end -- cgit v1.2.3