abcl: test added
Closes Homebrew/homebrew#37081. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
b7655eee31
commit
2875fabce9
|
@ -1,10 +1,9 @@
|
|||
require "formula"
|
||||
|
||||
class Abcl < Formula
|
||||
homepage "http://abcl.org"
|
||||
url "http://abcl.org/releases/1.3.1/abcl-bin-1.3.1.tar.gz"
|
||||
sha1 "7abb22130acfbca9d01c413da9c98a6aa078c78b"
|
||||
|
||||
depends_on :java => "1.5+"
|
||||
depends_on "rlwrap"
|
||||
|
||||
def install
|
||||
|
@ -14,4 +13,8 @@ class Abcl < Formula
|
|||
rlwrap java -jar "#{libexec}/abcl.jar" "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "42", pipe_output("#{bin}/abcl", "(+ 1 1 40)")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue