aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-01-06 21:23:22 -0600
committerJack Nagel2013-01-06 21:23:22 -0600
commit7cc1cddf2bb96afe2eb1fde43114c86b6ff52826 (patch)
treee6e449599c4215a9b13eed4c3dfeae9d5b4b4410 /Library
parentf2f9a3628a6a709435321a92284b9cddce2a62a3 (diff)
downloadhomebrew-7cc1cddf2bb96afe2eb1fde43114c86b6ff52826.tar.bz2
pango: use new test DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pango.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb
index 9832b58c8..a6ce36b82 100644
--- a/Library/Formula/pango.rb
+++ b/Library/Formula/pango.rb
@@ -49,11 +49,9 @@ class Pango < Formula
system "make install"
end
- def test
- mktemp do
- system "#{bin}/pango-view", "-t", "test-image",
- "--waterfall", "--rotate=10",
- "--annotate=1", "--header"
- end
+ test do
+ system "#{bin}/pango-view", "-t", "test-image",
+ "--waterfall", "--rotate=10",
+ "--annotate=1", "--header"
end
end