Add tests for cme NULL crash
Tests for GitHub PR #5122. Originally in GitHub PR #5121.
This commit is contained in:
parent
6764256dc7
commit
1454906d4e
Notes:
git
2021-11-18 03:20:55 +09:00
@ -549,7 +549,13 @@ class TestSuper < Test::Unit::TestCase
|
||||
|
||||
o = b.new
|
||||
o.danger!
|
||||
2.times { o.missing rescue NoMethodError }
|
||||
begin
|
||||
original_gc_stress = GC.stress
|
||||
GC.stress = true
|
||||
2.times { o.missing rescue NoMethodError }
|
||||
ensure
|
||||
GC.stress = original_gc_stress
|
||||
end
|
||||
end
|
||||
|
||||
def test_from_eval
|
||||
|
Loading…
x
Reference in New Issue
Block a user