From c33f8dabd3ccebc5182da271a8ed96beb9af2213 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 18 Jun 2015 21:36:49 +0000 Subject: * 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 --- bootstraptest/test_method.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'bootstraptest/test_method.rb') 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 -- cgit v1.2.3