diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | bootstraptest/test_method.rb | 12 |
2 files changed, 7 insertions, 12 deletions
@@ -1,3 +1,10 @@ +Fri Jun 19 06:30:07 2015 Koichi Sasada <ko1@atdot.net> + + * 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@mbf.nifty.com> * 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 @@ -910,18 +910,6 @@ assert_equal 'ok', %q{ }, '[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 |