[ruby/prism] Fix fork check in ractor_test.rb
https://github.com/ruby/prism/commit/0073266cad
This commit is contained in:
parent
e47078fb30
commit
65bc0ec62d
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
return if !defined?(Ractor) || !defined?(fork)
|
||||
return unless defined?(Ractor) && Process.respond_to?(:fork)
|
||||
|
||||
require_relative "test_helper"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user