aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb
index f9dce3a8c..120ef6541 100644
--- a/Library/Homebrew/test/test_utils.rb
+++ b/Library/Homebrew/test/test_utils.rb
@@ -7,7 +7,7 @@ class UtilTests < Homebrew::TestCase
end
def test_popen_read
- out = Utils.popen_read("/bin/sh", "-c", "echo success", &:read).chomp
+ out = Utils.popen_read("/bin/sh", "-c", "echo success").chomp
assert_equal "success", out
assert_predicate $?, :success?
end