diff options
| author | Jack Nagel | 2013-01-06 21:22:57 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-06 21:22:57 -0600 |
| commit | 9296f04b451508d01d485782bad69c132cf284a0 (patch) | |
| tree | 4b08f008272850b1edff60b874eefe4a49a8f467 /Library/Formula | |
| parent | 28d1220d4a68a3a5495dd48fcf1b92df93b07b36 (diff) | |
| download | homebrew-9296f04b451508d01d485782bad69c132cf284a0.tar.bz2 | |
gd: use new test DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gd.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb index e9ecc154a..c7e34d79c 100644 --- a/Library/Formula/gd.rb +++ b/Library/Formula/gd.rb @@ -49,12 +49,10 @@ Cflags: -I${includedir} EOF end - def test - mktemp do - system "#{bin}/pngtogd", \ - "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ - "gd_test.gd" - system "#{bin}/gdtopng", "gd_test.gd", "gd_test.png" - end + test do + system "#{bin}/pngtogd", \ + "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ + "gd_test.gd" + system "#{bin}/gdtopng", "gd_test.gd", "gd_test.png" end end |
