зеркало из https://github.com/github/ruby.git
[ruby/io-wait] Disable ractor test which is meaningless on earlier versions
https://github.com/ruby/io-wait/commit/e8e1e99d4c
This commit is contained in:
Родитель
db71a04c2e
Коммит
dc5512243b
|
@ -4,10 +4,6 @@ require 'rbconfig'
|
|||
require 'io/wait'
|
||||
|
||||
class TestIOWaitInRactor < Test::Unit::TestCase
|
||||
def setup
|
||||
omit unless defined? Ractor
|
||||
end
|
||||
|
||||
def test_ractor
|
||||
ext = "/io/wait.#{RbConfig::CONFIG['DLEXT']}"
|
||||
path = $".find {|path| path.end_with?(ext)}
|
||||
|
@ -19,4 +15,4 @@ class TestIOWaitInRactor < Test::Unit::TestCase
|
|||
puts r.take
|
||||
end;
|
||||
end
|
||||
end
|
||||
end if defined? Ractor
|
||||
|
|
Загрузка…
Ссылка в новой задаче