From c78e0d37130bdbbfd3169abb74bd1d9e473b9040 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 18 Jun 2015 21:36:49 +0000 Subject: [PATCH] * bootstraptest/test_method.rb: remove a test because $SAFE=2 was obsolete. Please check btest, too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ bootstraptest/test_method.rb | 12 ------------ 2 files changed, 7 insertions(+), 12 deletions(-) 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