aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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