test/etc/test_etc.rb in etc-1.2.0 vs test/etc/test_etc.rb in etc-1.3.0
- old
+ new
@@ -169,9 +169,10 @@
assert_operator(1, :<=, n)
end
def test_ractor
return unless Etc.passwd # => skip test if no platform support
+ Etc.endpwent
assert_ractor(<<~RUBY, require: 'etc')
ractor = Ractor.new do
Etc.passwd do |s|
Ractor.yield :sync