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:
parent
6c45fa78cb
commit
c78e0d3713
2 changed files with 7 additions and 12 deletions
|
|
@ -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>
|
Thu Jun 18 23:51:51 2015 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
* bin/erb: $SAFE=3 is obsolete.
|
* bin/erb: $SAFE=3 is obsolete.
|
||||||
|
|
|
||||||
|
|
@ -909,18 +909,6 @@ assert_equal 'ok', %q{
|
||||||
C.new.m
|
C.new.m
|
||||||
}, '[ruby-core:11998]'
|
}, '[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{
|
assert_equal 'ok', %q{
|
||||||
class B
|
class B
|
||||||
def m() :fail end
|
def m() :fail end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue