paq8px: pass strict audit/style test.
Closes Homebrew/homebrew#36481. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
cd5c863b1a
commit
7be31654c6
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue