diff options
| author | Jack Nagel | 2014-12-16 15:27:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-16 15:27:36 -0500 |
| commit | 8a0c4ecc9126d506bef247bb66a512dd5c1647ea (patch) | |
| tree | e22070b2a62773354aea5cb978ec035db602383a /Library/Homebrew | |
| parent | 42425738c8db88a971d1bc9c05a0ea5fe20b00ba (diff) | |
| download | homebrew-8a0c4ecc9126d506bef247bb66a512dd5c1647ea.tar.bz2 | |
Utils.popen_read doesn't doesn't require a block
Diffstat (limited to 'Library/Homebrew')
| -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 |
