summaryrefslogtreecommitdiffhomepage
path: root/test/io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/io.rb')
-rw-r--r--test/io.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io.rb b/test/io.rb
index 955481b9f..5a95961f3 100644
--- a/test/io.rb
+++ b/test/io.rb
@@ -234,6 +234,7 @@ assert('IO.sysopen, IO#sysread') do
io.sysread(10000)
end
io.close
+ assert_equal "", io.sysread(0)
io.closed?
end