diff options
| author | Caleb Xu | 2015-02-02 19:35:27 -0500 | 
|---|---|---|
| committer | Mike McQuaid | 2015-02-03 08:35:07 +0000 | 
| commit | 70192ec582e4352dca21165b025f911584379e3a (patch) | |
| tree | 37a5bcc51f124d83b121ce9301f81bca4051c32c | |
| parent | 995cf9de67b6655a5e95b4636c1128ae024fff82 (diff) | |
| download | homebrew-70192ec582e4352dca21165b025f911584379e3a.tar.bz2 | |
paq8px: pass strict audit/style test.
Closes #36481.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/paq8px.rb | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/Library/Formula/paq8px.rb b/Library/Formula/paq8px.rb index d303cd1a7..6176d3874 100644 --- a/Library/Formula/paq8px.rb +++ b/Library/Formula/paq8px.rb @@ -1,5 +1,3 @@ -require "formula" -  class Paq8px < Formula    homepage "http://dhost.info/paq8/"    url "http://dhost.info/paq8/paq8px_v69.zip" @@ -11,13 +9,13 @@ class Paq8px < Formula    end    test do -    system "touch test.txt" -    system "echo Foobarbaz > test.txt" +    touch "test.txt" +    system "echo", "Foobarbaz", ">", "test.txt"      system "yes | #{bin}/paq8px test.txt"      system "yes | #{bin}/paq8px test.txt.paq8px" -    system "rm test.txt" +    rm "test.txt"      system "yes | #{bin}/paq8px test.txt.paq8px" -    system "rm test.txt" -    system "rm test.txt.paq8px" +    rm "test.txt" +    rm "test.txt.paq8px"    end  end | 
