ruby-changes:52349
From: eregon <ko1@a...>
Date: Mon, 27 Aug 2018 19:12:44 +0900 (JST)
Subject: [ruby-changes:52349] eregon:r64557 (trunk): Simplify guards, the behavior seems Linux-specific
eregon 2018-08-27 19:12:41 +0900 (Mon, 27 Aug 2018) New Revision: 64557 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64557 Log: Simplify guards, the behavior seems Linux-specific Modified files: trunk/spec/ruby/library/socket/socket/sysaccept_spec.rb Index: spec/ruby/library/socket/socket/sysaccept_spec.rb =================================================================== --- spec/ruby/library/socket/socket/sysaccept_spec.rb (revision 64556) +++ spec/ruby/library/socket/socket/sysaccept_spec.rb (revision 64557) @@ -12,7 +12,7 @@ describe 'Socket#sysaccept' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/socket/sysaccept_spec.rb#L12 @server.close end - platform_is_not :aix, :freebsd, :windows, :solaris, :darwin do # hangs + platform_is :linux do # hangs on other platforms describe 'using an unbound socket' do it 'raises Errno::EINVAL' do lambda { @server.sysaccept }.should raise_error(Errno::EINVAL) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/