mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
tiff2png: use test DSL
This commit is contained in:
1 parent
bc8be64f69
commit
45db92eb50
1 file changed
+3
-5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user