diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_timeout.rb b/test/test_timeout.rb index 233f54eb82..3f94134fb0 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -299,5 +299,5 @@ class TestTimeout < Test::Unit::TestCase assert_equal :ok, r end; - end if Timeout.const_defined?(:RACTOR_SUPPORT) + end if defined?(::Ractor) && RUBY_VERSION >= '4.0' end |
