aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-05-01 19:43:45 -0700
committerAdam Vandenberg2012-05-01 19:43:45 -0700
commit853a8de5ea80f29303c787148f70a283f25ffc3b (patch)
tree0034daa4a61d3084e3175ccf432fd2665352d32f
parent7c4af403d04b069061bdca64ab071a65506c3ec9 (diff)
downloadhomebrew-853a8de5ea80f29303c787148f70a283f25ffc3b.tar.bz2
checkstyle - minor tweaks to test
-rw-r--r--Library/Formula/checkstyle.rb5
1 files changed, 2 insertions, 3 deletions
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