aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tiff2png.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/tiff2png.rb b/Library/Formula/tiff2png.rb
index de670e004..c781d0de6 100644
--- a/Library/Formula/tiff2png.rb
+++ b/Library/Formula/tiff2png.rb
@@ -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