Motohiro KOSAKI <kosaki.motohiro / gmail.com> wrote:
> Issue #4531 has been updated by Motohiro KOSAKI.
> 
> 
> commnet for patch 0001.
> 
> begin
>   require 'io/wait'
> rescue LoadError
> end
> 
> shold be
> 
> begin
>   require 'io/wait'
> rescue LoadError
>   # skip this test.
>   return
> end
> 
> If we can't load io/wait, why do we need to run the tests for it?
> Anyway, I'll commit it.

I used a condition at the end of the class definition:

  end if IO.method_defined?(:wait)

I copied the style from test/io/nonblock/test_flush.rb

-- 
Eric Wong