aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/phantomjs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/phantomjs.rb')
-rw-r--r--Library/Formula/phantomjs.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb
index 4798f85f0..0fe2cf863 100644
--- a/Library/Formula/phantomjs.rb
+++ b/Library/Formula/phantomjs.rb
@@ -32,8 +32,6 @@ class Phantomjs < Formula
phantom.exit();
EOS
- output = `#{bin}/phantomjs #{path}`.strip
- assert_equal "hello", output
- assert_equal 0, $?.exitstatus
+ assert_equal "hello", shell_output("#{bin}/phantomjs #{path}").strip
end
end