ruby-changes:35433
From: nobu <ko1@a...>
Date: Wed, 10 Sep 2014 17:25:23 +0900 (JST)
Subject: [ruby-changes:35433] nobu:r47515 (trunk): test_date.rb: nonsense assertion
nobu 2014-09-10 17:25:05 +0900 (Wed, 10 Sep 2014) New Revision: 47515 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47515 Log: test_date.rb: nonsense assertion * test/date/test_date.rb (TestDate#test__const): remove nonsense assertion. nil.frozen? is not date's concern. Modified files: trunk/test/date/test_date.rb Index: test/date/test_date.rb =================================================================== --- test/date/test_date.rb (revision 47514) +++ test/date/test_date.rb (revision 47515) @@ -20,7 +20,6 @@ class TestDate < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/date/test_date.rb#L20 assert_equal(7, Date::ABBR_DAYNAMES.size) assert(Date::MONTHNAMES.frozen?) - assert(!Date::MONTHNAMES[0].frozen?) assert(Date::MONTHNAMES[1].frozen?) assert(Date::DAYNAMES.frozen?) assert(Date::DAYNAMES[0].frozen?) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/