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:
parent
c940b3939a
commit
7fd0d4a4d3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue