aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cowsay.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cowsay.rb')
-rw-r--r--Library/Formula/cowsay.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/cowsay.rb b/Library/Formula/cowsay.rb
index 4085897ee..2ac4807a5 100644
--- a/Library/Formula/cowsay.rb
+++ b/Library/Formula/cowsay.rb
@@ -14,9 +14,8 @@ class Cowsay < Formula
end
test do
- output = `#{bin}/cowsay moo`
+ output = shell_output("#{bin}/cowsay moo")
assert output.include?("moo") # bubble
assert output.include?("^__^") # cow
- assert_equal 0, $?.exitstatus
end
end