aboutsummaryrefslogtreecommitdiffstats
path: root/test/io
diff options
context:
space:
mode:
Diffstat (limited to 'test/io')
-rw-r--r--test/io/wait/test_io_wait_uncommon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/wait/test_io_wait_uncommon.rb b/test/io/wait/test_io_wait_uncommon.rb
index 03041fcaf1..d76be914a5 100644
--- a/test/io/wait/test_io_wait_uncommon.rb
+++ b/test/io/wait/test_io_wait_uncommon.rb
@@ -12,7 +12,7 @@ class TestIOWaitUncommon < Test::Unit::TestCase
skip "/dev/tty: #{e.message} (#{e.class})"
end
assert_include [ nil, tty ], tty.wait_readable(0)
- assert_equal tty, tty.wait_writable(0), 'portability test'
+ assert_equal tty, tty.wait_writable(1), 'portability test'
ensure
tty&.close
end