tiff2png: use test DSL

This commit is contained in:
Jack Nagel committed 2013-02-01 23:38:55 -06:00
1 parent bc8be64f69
commit 45db92eb50
1 file changed
+3 -5
+3 -5
View File
@@ -23,11 +23,9 @@ class Tiff2png < Formula
bin.install 'tiff2png'
end
def test
mktemp do
system "#{bin}/tiff2png", \
"/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/GrammarDot.tiff"
end
test do
system "#{bin}/tiff2png", \
"/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/GrammarDot.tiff"
end
end