diff options
| author | Mike McQuaid | 2017-04-24 11:45:32 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-04-24 11:45:32 +0100 |
| commit | 6b0afa3e9c52f2d43432d7aeab53eb9e517ffe96 (patch) | |
| tree | ada804efcbac4f2732743e1f409986dca4434498 /Library/Homebrew/test | |
| parent | ceb1629ad7aeec4c9e9c264efb29b59a96f8556c (diff) | |
| download | brew-6b0afa3e9c52f2d43432d7aeab53eb9e517ffe96.tar.bz2 | |
Remove puts_hash, require pp
I wasn’t aware this existed when I created puts_hash so: may as well
remove it.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/utils_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index ffaa1f493..be224990a 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -270,12 +270,4 @@ describe "globally-scoped helper methods" do }.to raise_error(MethodDeprecatedError, %r{method.*replacement.*homebrew/homebrew-core.*homebrew/core}m) end end - - describe "#puts_hash" do - it "outputs a hash" do - expect { - puts_hash(a: 1, b: 2, c: [3, { "d"=>4 }]) - }.to output("a: 1\nb: 2\nc: [3, {\"d\"=>4}]\n").to_stdout - end - end end |
