summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/io/wait/test_io_wait.rb4
1 files changed, 3 insertions, 1 deletions
@@ -70,7 +70,9 @@ class TestIOWait < Test::Unit::TestCase
def test_wait_eof
th = Thread.new { sleep 0.01; @w.close }
- assert_nil @r.wait
ensure
th.join
end