1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2015-06-18 21:36:49 +00:00
parent 6c45fa78cb
commit c78e0d3713
2 changed files with 7 additions and 12 deletions

View file

@ -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.

View file

@ -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