We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985deb6 commit 6f8e5ccCopy full SHA for 6f8e5cc
KNOWNBUGS.rb
@@ -3,14 +3,3 @@
3
# So all tests will cause failure.
4
#
5
6
-assert_normal_exit %q{
7
- require 'timeout'
8
- timeout(2) do
9
- loop do
10
- def x
11
- "hello" * 1000
12
- end
13
- method(:x).call
14
15
16
-}, '[ruby-core:53640] [Bug #8100]'
test/ruby/test_method.rb
@@ -576,4 +576,17 @@ def test_gced_bmethod
576
IRB.start
577
}, '[Bug #7825]'
578
end
579
+
580
+ def test_unlinked_method_entry_in_method_object_bug
581
+ bug8100 = '[ruby-core:53640] [Bug #8100]'
582
+ assert_ruby_status [], %q{
583
+ loop do
584
+ def x
585
+ "hello" * 1000
586
+ end
587
+ method(:x).call
588
589
+ }, bug8100, timeout: 2
590
+ rescue Timeout::Error
591
592
0 commit comments