tiff2png: use test DSL

This commit is contained in:
Jack Nagel 2013-02-01 23:12:56 -06:00
parent 095500598b
commit 74b84b96b6

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