Skip to content

Commit

Permalink
Turn off GC.verify_compaction_references for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Feb 14, 2022
1 parent 626a1fe commit 3a36880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def setup
def teardown
Oj.default_options = @default_options
#=begin
if '3.1.0' <= RUBY_VERSION && not (RbConfig::CONFIG['host_os'] =~ /(mingw|mswin)/)
if '3.1.0' <= RUBY_VERSION && !(RbConfig::CONFIG['host_os'] =~ /(mingw|mswin)/)
puts "host OS: #{RbConfig::CONFIG['host_os']}"
Oj::debug_odd("teardown before GC.verify_compaction_references")
GC.verify_compaction_references(double_heap: true, toward: :empty)
Expand Down

0 comments on commit 3a36880

Please sign in to comment.