diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 11:56:32 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-08 11:56:32 +0000 |
commit | a4ecf14d586f304d78dbbcdc113bf0bf2ec12d94 (patch) | |
tree | bf0baa6b1b21c58ab28a659d959c3479307dd035 /test/date/test_date.rb | |
parent | 5518dc64cf740df0988b7c2bd3a57f5455b9cc41 (diff) | |
download | ruby-a4ecf14d586f304d78dbbcdc113bf0bf2ec12d94.tar.gz |
* test/date/*.rb: NEVER SKIP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date.rb')
-rw-r--r-- | test/date/test_date.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/date/test_date.rb b/test/date/test_date.rb index 2c30e6483b..86790e4cde 100644 --- a/test/date/test_date.rb +++ b/test/date/test_date.rb @@ -113,27 +113,6 @@ class TestDate < Test::Unit::TestCase assert_equal(d2, dt2) end - def test_coerce - bug4375 = '[ruby-core:35127]' - d = Date.jd(0) - d2 = Date.jd(1) - others = [1, d2, Date::Infinity.new, nil, Object.new] - assert_nothing_raised(bug4375) { - others.each do |o| - case o - when d - flunk("expected not to match") - end - end - } - assert_nothing_raised(bug4375) { - case d - when *others - flunk("expected not to match") - end - } - end - def test_hash h = {} h[Date.new(1999,5,23)] = 0 |