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/optional | |
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/optional')
-rw-r--r-- | spec/ruby/optional/capi/string_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/string_spec.rb b/spec/ruby/optional/capi/string_spec.rb index a8edf998b5..43b4b3f09b 100644 --- a/spec/ruby/optional/capi/string_spec.rb +++ b/spec/ruby/optional/capi/string_spec.rb @@ -1096,7 +1096,7 @@ end end it "tries to convert the passed argument to a string by calling #to_s" do - @s.rb_String({"bar" => "foo"}).should == '{"bar"=>"foo"}' + @s.rb_String({"bar" => "foo"}).should == {"bar" => "foo"}.to_s end end |