aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Pennings2014-03-05 22:17:10 -0500
committerAdam Vandenberg2014-03-05 19:40:44 -0800
commit000b65325851df4eed39cd06d857c11af8f42ebc (patch)
treeeca72ece931e0c79e8b5122547262e467cc69797
parent61959549ef7d060e4bef9ed4d7c73eb249a45097 (diff)
downloadhomebrew-000b65325851df4eed39cd06d857c11af8f42ebc.tar.bz2
chicken: add a test
Closes #27242. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/chicken.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/chicken.rb b/Library/Formula/chicken.rb
index 816d49a64..cbd91d28d 100644
--- a/Library/Formula/chicken.rb
+++ b/Library/Formula/chicken.rb
@@ -15,4 +15,10 @@ class Chicken < Formula
system "make", *args
system "make", "install", *args
end
+
+ test do
+ output = `'#{bin}/csi' -e '(print (* 5 5))'`
+ assert_equal "25", output.strip
+ assert $?.success?
+ end
end