imlib2: use test DSL
This commit is contained in:
parent
a4cc3efc0e
commit
22bf7302ca
1 changed files with 4 additions and 6 deletions
|
@ -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 a new issue