diff options
| -rw-r--r-- | Library/Formula/checkstyle.rb | 5 |
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 |
