aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-02-01 23:12:56 -0600
committerJack Nagel2013-02-01 23:38:55 -0600
commit45db92eb50886a814f2b5909dc1d4e98b2c4c2d4 (patch)
tree4f9907c5431ece7db23efbb2bec6c77c92cd91b4 /Library/Formula
parentbc8be64f69665cd21720777c9e57f9e79c993f19 (diff)
downloadhomebrew-45db92eb50886a814f2b5909dc1d4e98b2c4c2d4.tar.bz2
tiff2png: use test DSL
Diffstat (limited to 'Library/Formula')
-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