diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-01-17 11:36:52 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-01-22 09:09:47 -0800 |
commit | e91c39f1c0f7d5e670266d9593d533fd444957f6 (patch) | |
tree | bf6b715bb789f3b838110117aec773e3c3a10c19 /bootstraptest | |
parent | 461db352c22c0ffb5c0db295238f97f44168e6cc (diff) |
Remove special handling of $SAFE and related C-APIs
These were all deprecated in Ruby 2.7.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2845
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_proc.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb index 1e384411dc..6d2c557c3c 100644 --- a/bootstraptest/test_proc.rb +++ b/bootstraptest/test_proc.rb @@ -225,19 +225,6 @@ assert_equal %q{[[nil, []], [1, []], [1, [2]], [1, [2, 3]]]}, %q{ ] } assert_equal %q{1}, %q{ - pr = proc{ - $SAFE - } - $SAFE = 1 - pr.call -} -assert_equal %q{[1, 1]}, %q{ - pr = proc{ - $SAFE += 1 - } - [pr.call, $SAFE] -} -assert_equal %q{1}, %q{ def m(&b) b end |