* 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
Родитель 6c45fa78cb
Коммит c78e0d3713
2 изменённых файлов: 7 добавлений и 12 удалений

Просмотреть файл

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

Просмотреть файл

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