From 70192ec582e4352dca21165b025f911584379e3a Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 2 Feb 2015 19:35:27 -0500 Subject: paq8px: pass strict audit/style test. Closes #36481. Signed-off-by: Mike McQuaid --- Library/Formula/paq8px.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3