imlib2: use test DSL

master
Jack Nagel 2013-02-01 23:12:40 -06:00
parent a4cc3efc0e
commit 22bf7302ca
1 changed files with 4 additions and 6 deletions

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