gnu-apl: test interpreter, not version
Closes Homebrew/homebrew#35297. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
9f5f1b38dc
commit
d42affe64b
1 changed files with 5 additions and 2 deletions
|
@ -23,7 +23,10 @@ class GnuApl < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
ENV["TERM"] = "dumb"
|
||||
system "#{bin}/apl", "--version"
|
||||
(testpath/"hello.apl").write <<-EOS.undent
|
||||
'Hello world'
|
||||
)OFF
|
||||
EOS
|
||||
assert_match /Hello world/, shell_output("#{bin}/apl -s -f hello.apl")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue