tiff2png: use test DSL
This commit is contained in:
parent
095500598b
commit
74b84b96b6
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue