1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

revert unrelated fix from r30615. Sorry!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-01-20 15:40:04 +00:00
parent c940b3939a
commit 7fd0d4a4d3

View file

@ -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