diff --git a/ChangeLog b/ChangeLog index e4d7d9c981..8aeadb8f7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Jun 19 06:30:07 2015 Koichi Sasada + + * 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 * bin/erb: $SAFE=3 is obsolete. diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb index 749874cc5a..639fe73397 100644 --- a/bootstraptest/test_method.rb +++ b/bootstraptest/test_method.rb @@ -909,18 +909,6 @@ assert_equal 'ok', %q{ C.new.m }, '[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