diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/webp.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb index 2a3ebb5b7..723f83ca0 100644 --- a/Library/Formula/webp.rb +++ b/Library/Formula/webp.rb @@ -14,12 +14,10 @@ class Webp < Formula system "make install" end - def test - mktemp do - system "#{bin}/cwebp", \ - "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ - "-o", "webp_test.png" - system "#{bin}/dwebp", "webp_test.png", "-o", "webp_test.webp" - end + test do + system "#{bin}/cwebp", \ + "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ + "-o", "webp_test.png" + system "#{bin}/dwebp", "webp_test.png", "-o", "webp_test.webp" end end |
