diff --git a/Formula/imlib2.rb b/Formula/imlib2.rb index 7e8b4d3106..a3ecdfc218 100644 --- a/Formula/imlib2.rb +++ b/Formula/imlib2.rb @@ -25,11 +25,9 @@ class Imlib2 < Formula system "make install" end - def test - mktemp do - system "#{bin}/imlib2_conv", \ - "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ - "imlib2_test.jpg" - end + test do + system "#{bin}/imlib2_conv", \ + "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ + "imlib2_test.jpg" end end