Skip to content

Commit 65bc0ec

Browse files
eregonmatzbot
authored andcommitted
[ruby/prism] Fix fork check in ractor_test.rb
ruby/prism@0073266cad
1 parent e47078f commit 65bc0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prism/ractor_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
return if !defined?(Ractor) || !defined?(fork)
3+
return unless defined?(Ractor) && Process.respond_to?(:fork)
44

55
require_relative "test_helper"
66

0 commit comments

Comments
 (0)