Skip to content

Commit

Permalink
BigDecimal.allocate is obsoleted too
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 18, 2024
1 parent 2aab78b commit c25d93e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/bigdecimal/test_bigdecimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2290,10 +2290,6 @@ def assert_no_memory_leak(code, *rest, **opt)
end

if EnvUtil.gc_stress_to_class?
def test_no_memory_leak_allocate
assert_no_memory_leak("BigDecimal.allocate")
end

def test_no_memory_leak_BigDecimal
assert_no_memory_leak("BigDecimal('10')")
assert_no_memory_leak("BigDecimal(b)")
Expand Down

0 comments on commit c25d93e

Please sign in to comment.