diff options
Diffstat (limited to 'Library/Homebrew/test/test_utils.rb')
| -rw-r--r-- | Library/Homebrew/test/test_utils.rb | 2 |
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 |
