languagetool: add test do block
Closes Homebrew/homebrew#46535. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
9f5d4cafa0
commit
4c0586c40b
1 changed files with 4 additions and 0 deletions
|
@ -18,4 +18,8 @@ class Languagetool < Formula
|
|||
(bin+"languagetool-server").write server_script(libexec/"languagetool-server.jar")
|
||||
bin.write_jar_script libexec/"languagetool.jar", "languagetool-gui"
|
||||
end
|
||||
|
||||
test do
|
||||
pipe_output("#{bin}/languagetool -l en-US -", "This is a test.")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue