aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/zint.rb
diff options
context:
space:
mode:
authorJack Nagel2013-02-01 23:12:59 -0600
committerJack Nagel2013-02-01 23:38:56 -0600
commit4bc3ded87a59431a737ab64d635b5da4604872c6 (patch)
tree45f57b7f7a05d1f29203a832f66be5e807ce190a /Library/Formula/zint.rb
parentc2b89dc0e3e103aca8dcf239b8c12a77c0cd566b (diff)
downloadhomebrew-4bc3ded87a59431a737ab64d635b5da4604872c6.tar.bz2
zint: use test DSL
Diffstat (limited to 'Library/Formula/zint.rb')
-rw-r--r--Library/Formula/zint.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/zint.rb b/Library/Formula/zint.rb
index f7031e891..0b8cf2bdc 100644
--- a/Library/Formula/zint.rb
+++ b/Library/Formula/zint.rb
@@ -20,9 +20,7 @@ class Zint < Formula
end
end
- def test
- mktemp do
- system "#{bin}/zint", "-o", "test-zing.png", "-d", "This Text"
- end
+ test do
+ system "#{bin}/zint", "-o", "test-zing.png", "-d", "This Text"
end
end