summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 21:36:49 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 21:36:49 +0000
commitc78e0d37130bdbbfd3169abb74bd1d9e473b9040 (patch)
treebd1194a5ef7a3ac0df46088a7cadc8a8a6f37746 /bootstraptest
parent6c45fa78cb457a736621f0f6d66f808287d7e990 (diff)
downloadruby-c78e0d37130bdbbfd3169abb74bd1d9e473b9040.tar.gz
* 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
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_method.rb12
1 files changed, 0 insertions, 12 deletions
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