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 5a95961f3..02ab038bb 100644
--- a/test/io.rb
+++ b/test/io.rb
@@ -235,6 +235,7 @@ assert('IO.sysopen, IO#sysread') do
end
io.close
assert_equal "", io.sysread(0)
+ assert_raise(IOError) { io.sysread(1) }
io.closed?
end