From 7cc1cddf2bb96afe2eb1fde43114c86b6ff52826 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 6 Jan 2013 21:23:22 -0600 Subject: pango: use new test DSL --- Library/Formula/pango.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3