Skip to content

Commit c25d93e

Browse files
committed
BigDecimal.allocate is obsoleted too
1 parent 2aab78b commit c25d93e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/bigdecimal/test_bigdecimal.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,10 +2290,6 @@ def assert_no_memory_leak(code, *rest, **opt)
22902290
end
22912291

22922292
if EnvUtil.gc_stress_to_class?
2293-
def test_no_memory_leak_allocate
2294-
assert_no_memory_leak("BigDecimal.allocate")
2295-
end
2296-
22972293
def test_no_memory_leak_BigDecimal
22982294
assert_no_memory_leak("BigDecimal('10')")
22992295
assert_no_memory_leak("BigDecimal(b)")

0 commit comments

Comments
 (0)