Skip to content

Commit

Permalink
Remove "double_heap" deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiszczak committed Feb 17, 2024
1 parent 506f4e4 commit 0babe8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.7.2] - [unreleased]

- Remove "double_heap" deprecation warning

## [0.7.1] - 2024-02-17

- Remove "missing bigdecimal dependency" warning
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# This method was added in Ruby 3.0.0. Calling it this way asks the GC to
# move objects around, helping to find object movement bugs.
begin
GC.verify_compaction_references(double_heap: true, toward: :empty)
GC.verify_compaction_references(expand_heap: true, toward: :empty)
rescue NotImplementedError
# Some platforms don't support compaction
end
Expand Down

0 comments on commit 0babe8b

Please sign in to comment.