Skip to content

Commit

Permalink
Merge pull request #1726 from ruby/objspace
Browse files Browse the repository at this point in the history
Bckport #1724
  • Loading branch information
soutaro authored Jan 19, 2024
2 parents 3c16a5f + 1678019 commit 79d81a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/stdlib/ObjectSpace_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,15 @@ def test_trace_object_allocations_clear
def test_trace_object_allocations_debug_start
assert_send_type "() -> void",
ObjectSpace, :trace_object_allocations_debug_start
ensure
ObjectSpace.trace_object_allocations_stop
end

def test_trace_object_allocations_start
assert_send_type "() -> void",
ObjectSpace, :trace_object_allocations_start
ensure
ObjectSpace.trace_object_allocations_stop
end

def test_trace_object_allocations_stop
Expand Down

0 comments on commit 79d81a9

Please sign in to comment.