mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* remove trailing spaces. [ci skip]
This commit is contained in:
parent
f9c8d80883
commit
7e68762446
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue