From 853a8de5ea80f29303c787148f70a283f25ffc3b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 1 May 2012 19:43:45 -0700 Subject: checkstyle - minor tweaks to test --- Library/Formula/checkstyle.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/checkstyle.rb b/Library/Formula/checkstyle.rb index 3ab890de7..e14146af3 100644 --- a/Library/Formula/checkstyle.rb +++ b/Library/Formula/checkstyle.rb @@ -17,10 +17,9 @@ class Checkstyle < Formula def test mktemp do - # create test file for `brew test checkstyle` + # create test file (Pathname.pwd/"Test.java").write <<-EOS.undent - public class Test{ - } + public class Test{ } EOS system "#{bin}/checkstyle -c #{libexec}/sun_checks.xml -r Test.java" end -- cgit v1.2.3