plt-racket: a test

Closes Homebrew/homebrew#27318.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Ted Pennings 2014-03-07 23:49:56 -05:00 committed by Adam Vandenberg
parent 304738975f
commit 64959ae7b2
1 changed files with 6 additions and 0 deletions

View File

@ -25,4 +25,10 @@ class PltRacket < Formula
the PLT-provided packages from http://racket-lang.org/download/.
EOS
end
test do
output = `'#{bin}/racket' -e '(displayln "Hello Homebrew")'`
assert $?.success?
assert_match /Hello Homebrew/, output
end
end