1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/socket/test_addrinfo.rb: Fix syntax error

Sorry!
This commit is contained in:
Yusuke Endoh 2020-06-04 11:29:39 +09:00
parent 980655ce83
commit 3d71388710

View file

@ -369,7 +369,7 @@ class TestSocketAddrinfo < Test::Unit::TestCase
def errors_addrinuse
errs = [Errno::EADDRINUSE]
# MinGW fails with "Errno::EACCES: Permission denied - bind(2) for 0.0.0.0:49721"
errs << Errno::EACCES if if /mingw/ =~ RUBY_PLATFORM
errs << Errno::EACCES if /mingw/ =~ RUBY_PLATFORM
errs
end