diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-20 15:40:04 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-20 15:40:04 +0000 |
commit | 7fd0d4a4d39f99f526cf14f092f330970d71a6a0 (patch) | |
tree | 163e85a3d2a48d33453b5f9d553cb1a655cc07ab /test/psych/test_json_tree.rb | |
parent | c940b3939a66ab3c7d838ad1511f8b31c9791006 (diff) |
revert unrelated fix from r30615. Sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_json_tree.rb')
-rw-r--r-- | test/psych/test_json_tree.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_json_tree.rb b/test/psych/test_json_tree.rb index 98c4678982..5fcb0d6a37 100644 --- a/test/psych/test_json_tree.rb +++ b/test/psych/test_json_tree.rb @@ -41,8 +41,8 @@ module Psych end def test_time - time = Time.utc(2010, 10, 10).utc - assert_equal "{\"a\": \"2010-10-10 00:00:00.000000000Z\"}\n", Psych.to_json({'a' => time }) + time = Time.new(2010, 10, 10).utc + assert_equal "{\"a\": \"2010-10-10 07:00:00.000000000Z\"}\n", Psych.to_json({'a' => time }) end def test_datetime |