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:
parent
980655ce83
commit
3d71388710
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue