swftools: use test fixture image.

This commit is contained in:
Mike McQuaid 2014-07-28 19:32:21 +02:00
parent b13681db69
commit 96acec8ab8

View file

@ -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