aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bash.rb')
-rw-r--r--Library/Formula/bash.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/bash.rb b/Library/Formula/bash.rb
index 313451361..b6c54f0a2 100644
--- a/Library/Formula/bash.rb
+++ b/Library/Formula/bash.rb
@@ -42,8 +42,6 @@ class Bash < Formula
end
test do
- output = `#{bin}/bash -c "echo hello"`.strip
- assert_equal "hello", output
- assert_equal 0, $?.exitstatus
+ assert_equal "hello", shell_output("#{bin}/bash -c \"echo hello\"").strip
end
end