* remove trailing spaces. [ci skip]
This commit is contained in:
parent
f9c8d80883
commit
7e68762446
@ -165,12 +165,12 @@ class TestIOWait < Test::Unit::TestCase
|
||||
omit("Missing IO::WRITABLE!") unless IO.const_defined?(:WRITABLE)
|
||||
assert_equal IO::WRITABLE, @w.wait(IO::WRITABLE, 0)
|
||||
end
|
||||
|
||||
|
||||
def test_wait_mask_readable
|
||||
omit("Missing IO::READABLE!") unless IO.const_defined?(:READABLE)
|
||||
@w.write("Hello World\n" * 3)
|
||||
assert_equal IO::READABLE, @r.wait(IO::READABLE, 0)
|
||||
|
||||
|
||||
@r.gets
|
||||
assert_equal IO::READABLE, @r.wait(IO::READABLE, 0)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user