summaryrefslogtreecommitdiff
path: root/test/ruby/test_exception.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r--test/ruby/test_exception.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 1a5f31ff0d..a6b707bcca 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -1019,15 +1019,4 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status|
}
end;
end
-
- def test_break_in_once
- assert_separately([], "#{<<-"begin;"}\n#{<<~'end;'}")
- begin;
- obj = Object.new
- def obj.try
- /#{break}/o
- end
- assert_raise(LocalJumpError, /proc-closure/) {obj.try}
- end;
- end
end