mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00: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
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user