aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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