mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/date/{test_date.rb,test_date_attr.rb}: [ruby-dev:43280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
25a9b62d45
commit
b8bc68113a
3 changed files with 8 additions and 2 deletions
|
@ -41,9 +41,9 @@ class TestDate < Test::Unit::TestCase
|
|||
assert_instance_of(DateSub, DateSub.today)
|
||||
assert_instance_of(DateTimeSub, DateTimeSub.now)
|
||||
|
||||
assert_equal('#<DateSub: -4712-01-01 (-1/2,0,2299161)>', d.inspect)
|
||||
# assert_equal('#<DateSub: -4712-01-01 (-1/2,0,2299161)>', d.inspect)
|
||||
assert_equal('-4712-01-01', d.to_s)
|
||||
assert_equal('#<DateTimeSub: -4712-01-01T00:00:00+00:00 (-1/2,0,2299161)>', dt.inspect)
|
||||
# assert_equal('#<DateTimeSub: -4712-01-01T00:00:00+00:00 (-1/2,0,2299161)>', dt.inspect)
|
||||
assert_equal('-4712-01-01T00:00:00+00:00', dt.to_s)
|
||||
|
||||
d2 = d + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue