mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
parent
ef084cc8f4
commit
4eb51dfc9e
8 changed files with 90 additions and 47 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue