diff options
Diffstat (limited to 'test/ruby/test_eval.rb')
-rw-r--r-- | test/ruby/test_eval.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb index a97b982246..790e2887d5 100644 --- a/test/ruby/test_eval.rb +++ b/test/ruby/test_eval.rb @@ -440,16 +440,6 @@ class TestEval < Test::Unit::TestCase assert_raise(RuntimeError) { eval("raise ''") } end - def test_eval_using_untainted_binding_under_safe4 - assert_raise(SecurityError) do - Thread.new do - b = binding - $SAFE = 4 - eval("", b) - end.join - end - end - def test_eval_with_toplevel_binding # [ruby-dev:37142] ruby("-e", "x = 0; eval('p x', TOPLEVEL_BINDING)") do |f| f.close_write |