tiff2png: use test DSL

master
Jack Nagel 2013-02-01 23:12:56 -06:00
parent 095500598b
commit 74b84b96b6
1 changed files with 3 additions and 5 deletions

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