ruby/test/lib/zombie_hunter.rb

14 строки
255 B
Ruby

# frozen_string_literal: true
# There might be compiler processes executed by MJIT
return if RubyVM::MJIT.enabled?
module ZombieHunter
def after_teardown
super
assert_empty(Process.waitall)
end
end
Test::Unit::TestCase.include ZombieHunter