aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_utils.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb
index 3eeb7ce9d..c97d70285 100644
--- a/Library/Homebrew/test/test_utils.rb
+++ b/Library/Homebrew/test/test_utils.rb
@@ -110,8 +110,12 @@ class UtilTests < Homebrew::TestCase
end
def test_put_columns_empty
- # Issue #217 put columns with no results fails.
- assert_silent { puts_columns [] }
+ out, err = capture_io do
+ puts_columns []
+ end
+
+ assert_equal out, "\n"
+ assert_equal err, ""
end
def test_which