diff options
Diffstat (limited to 'Library/Formula/jsmin.rb')
| -rw-r--r-- | Library/Formula/jsmin.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/jsmin.rb b/Library/Formula/jsmin.rb index 137c79ff6..3a16ea44d 100644 --- a/Library/Formula/jsmin.rb +++ b/Library/Formula/jsmin.rb @@ -12,10 +12,6 @@ class Jsmin < Formula end test do - IO.popen("#{bin}/jsmin", "w+") do |pipe| - pipe.puts "var i = 0; // comment" - pipe.close_write - assert_equal "\nvar i=0;", pipe.read - end + assert_equal "\nvar i=0;", pipe_output(bin/"jsmin", "var i = 0; // comment") end end |
