cc65: add test

Closes Homebrew/homebrew#26503.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike Naberezny 2014-02-07 12:28:19 -08:00 committed by Mike McQuaid
parent 5683859745
commit a5b940cec9

View file

@ -20,4 +20,11 @@ class Cc65 < Formula
#{share}/cc65
EOS
end
test do
(testpath/"foo.c").write "int main (void) { return 0; }"
system bin/"cl65", "foo.c" # compile and link
assert File.exist?("foo") # binary
end
end