From c5f5173d1744d5bfbf6a917f005944290dbc75e7 Mon Sep 17 00:00:00 2001 From: nahi Date: Mon, 24 Dec 2007 14:02:09 +0000 Subject: [PATCH] * changed constant name: Struct::MyStruct -> Struct::MyJsonStruct git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/json/test_json_addition.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/json/test_json_addition.rb b/test/json/test_json_addition.rb index e8ae41525f..04c690ce31 100755 --- a/test/json/test_json_addition.rb +++ b/test/json/test_json_addition.rb @@ -122,7 +122,7 @@ EOT assert_equal 1...10, JSON(JSON(1...10)) 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' assert_equal s, JSON(JSON(s)) struct = Struct.new :foo, :bar