diff options
| author | Jack Nagel | 2013-02-01 23:12:41 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-01 23:38:52 -0600 |
| commit | 37748c461a63ac504d222389faf9860ade54ab08 (patch) | |
| tree | aafbcfaaf198b2813f8956e498e22c50abcb2034 /Library/Formula | |
| parent | a15f8b0114000b530508ba70048200c2592be331 (diff) | |
| download | homebrew-37748c461a63ac504d222389faf9860ade54ab08.tar.bz2 | |
jbigkit: use test DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jbigkit.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/jbigkit.rb b/Library/Formula/jbigkit.rb index 5c323a8cf..5031a4f68 100644 --- a/Library/Formula/jbigkit.rb +++ b/Library/Formula/jbigkit.rb @@ -32,10 +32,8 @@ class Jbigkit < Formula end end - def test - mktemp do - system "#{bin}/jbgtopbm #{prefix}/examples/ccitt7.jbg | #{bin}/pbmtojbg - testoutput.jbg" - system "/usr/bin/cmp", "#{prefix}/examples/ccitt7.jbg", "testoutput.jbg" - end + test do + system "#{bin}/jbgtopbm #{prefix}/examples/ccitt7.jbg | #{bin}/pbmtojbg - testoutput.jbg" + system "/usr/bin/cmp", "#{prefix}/examples/ccitt7.jbg", "testoutput.jbg" end end |
