aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/css-crush.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/css-crush.rb')
-rw-r--r--Library/Formula/css-crush.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/css-crush.rb b/Library/Formula/css-crush.rb
index 6ea634ba5..beaab2413 100644
--- a/Library/Formula/css-crush.rb
+++ b/Library/Formula/css-crush.rb
@@ -20,8 +20,6 @@ class CssCrush < Formula
p { color: $(foo); }
EOS
- output = `#{bin}/csscrush #{path}`.strip
- assert_equal "p{color:#123456}", output
- assert_equal 0, $?.exitstatus
+ assert_equal "p{color:#123456}", shell_output("#{bin}/csscrush #{path}").strip
end
end