mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* changed constant name: Struct::MyStruct -> Struct::MyJsonStruct
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be86e3de33
commit
c5f5173d17
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ EOT
|
||||||
assert_equal 1...10, JSON(JSON(1...10))
|
assert_equal 1...10, JSON(JSON(1...10))
|
||||||
assert_equal "a".."c", JSON(JSON("a".."c"))
|
assert_equal "a".."c", JSON(JSON("a".."c"))
|
||||||
assert_equal "a"..."c", JSON(JSON("a"..."c"))
|
assert_equal "a"..."c", JSON(JSON("a"..."c"))
|
||||||
struct = Struct.new 'MyStruct', :foo, :bar
|
struct = Struct.new 'MyJsonStruct', :foo, :bar
|
||||||
s = struct.new 4711, 'foot'
|
s = struct.new 4711, 'foot'
|
||||||
assert_equal s, JSON(JSON(s))
|
assert_equal s, JSON(JSON(s))
|
||||||
struct = Struct.new :foo, :bar
|
struct = Struct.new :foo, :bar
|
||||||
|
|
Loading…
Reference in a new issue