imlib2: use test DSL
parent
a4cc3efc0e
commit
22bf7302ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue