Skip to content

Commit 0073266

Browse files
authored
Fix fork check in ractor_test.rb
1 parent 640b1e7 commit 0073266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prism/ractor_test.rb

Lines changed: 1 addition & 1 deletion
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)