ruby-changes:38883
From: ko1 <ko1@a...>
Date: Fri, 19 Jun 2015 06:37:23 +0900 (JST)
Subject: [ruby-changes:38883] ko1:r50964 (trunk): * bootstraptest/test_method.rb: remove a test because $SAFE=2 was
ko1 2015-06-19 06:36:49 +0900 (Fri, 19 Jun 2015) New Revision: 50964 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50964 Log: * bootstraptest/test_method.rb: remove a test because $SAFE=2 was obsolete. Please check btest, too. Modified files: trunk/ChangeLog trunk/bootstraptest/test_method.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50963) +++ ChangeLog (revision 50964) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jun 19 06:30:07 2015 Koichi Sasada <ko1@a...> + + * bootstraptest/test_method.rb: remove a test because $SAFE=2 was + obsolete. + + Please check btest, too. + Thu Jun 18 23:51:51 2015 Kazuhiro NISHIYAMA <zn@m...> * bin/erb: $SAFE=3 is obsolete. Index: bootstraptest/test_method.rb =================================================================== --- bootstraptest/test_method.rb (revision 50963) +++ bootstraptest/test_method.rb (revision 50964) @@ -910,18 +910,6 @@ assert_equal 'ok', %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_method.rb#L910 }, '[ruby-core:11998]' assert_equal 'ok', %q{ - proc{ - $SAFE = 2 - class C - def m - :ok - end - end - }.call - C.new.m -}, '[ruby-core:11998]' - -assert_equal 'ok', %q{ class B def m() :fail end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/