imlib2: use test DSL

This commit is contained in:
Jack Nagel 2013-02-01 23:12:40 -06:00
parent a4cc3efc0e
commit 22bf7302ca

View file

@ -25,11 +25,9 @@ class Imlib2 < Formula
system "make install"
end
def test
mktemp do
system "#{bin}/imlib2_conv", \
"/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \
"imlib2_test.jpg"
end
test do
system "#{bin}/imlib2_conv", \
"/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \
"imlib2_test.jpg"
end
end