Merge JSON 2.7.2 for Ruby 3.3 (#11541)

Merge JSON 2.7.2
This commit is contained in:
Hiroshi SHIBATA 2024-09-05 00:47:06 +09:00 committed by GitHub
parent ef084cc8f4
commit 4eb51dfc9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 90 additions and 47 deletions

View file

@ -190,7 +190,7 @@ class JSONAdditionTest < Test::Unit::TestCase
# XXX this won't work; o.foo = { :bar => true }
o.foo = { 'bar' => true }
assert_equal o, parse(JSON(o), :create_additions => true)
end
end if defined?(::OpenStruct)
def test_set
s = Set.new([:a, :b, :c, :a])