diff options
author | tompng <[email protected]> | 2024-06-14 21:57:41 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2024-10-03 18:47:09 +0900 |
commit | c94815bab720e88c76b46709a1c0b992cae5353c (patch) | |
tree | ea4470e29562f0de18f6cc75de4d585c99db3ca9 /spec/ruby/library/pp | |
parent | af1c356c7b318ccdb8abbcf35bd1fff2082bf91b (diff) |
Update spec/ruby/ for colon-style hash inspect
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/10924
Diffstat (limited to 'spec/ruby/library/pp')
-rw-r--r-- | spec/ruby/library/pp/pp_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/pp/pp_spec.rb b/spec/ruby/library/pp/pp_spec.rb index 243478efd9..e45a6bb94f 100644 --- a/spec/ruby/library/pp/pp_spec.rb +++ b/spec/ruby/library/pp/pp_spec.rb @@ -25,6 +25,6 @@ describe "PP.pp" do hash = { 'key' => 42 } -> { PP.pp hash - }.should output('{"key"=>42}' + "\n") + }.should output("#{hash.inspect}\n") end end |