summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:02:09 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:02:09 +0000
commitc5f5173d1744d5bfbf6a917f005944290dbc75e7 (patch)
tree1efbdb6f85050c012a15e6527f333a43a433ea0c /test/json
parentbe86e3de339e31d532bd40233458c4ca30e0a418 (diff)
* changed constant name: Struct::MyStruct -> Struct::MyJsonStruct
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/json')
-rwxr-xr-xtest/json/test_json_addition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/test_json_addition.rb b/test/json/test_json_addition.rb
index e8ae415..04c690c 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