checkstyle - minor tweaks to test
This commit is contained in:
parent
2ce9209c41
commit
9742e72446
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue