checkstyle - minor tweaks to test

This commit is contained in:
Adam Vandenberg 2012-05-01 19:43:45 -07:00
parent 2ce9209c41
commit 9742e72446

View file

@ -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