summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 0eb09f9044..f2e9128e8a 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3779,7 +3779,7 @@ __END__
noex = Thread.new do # everything right and never see exceptions :)
until sig_rd.wait_readable(0)
IO.pipe do |r, w|
- th = Thread.new { r.sysread(1) }
+ th = Thread.new { r.read(1) }
w.write(dot)
assert_same th, th.join(15), '"good" reader timeout'
assert_equal(dot, th.value)