Commit ab9dcc76 authored by Tomoyuki Sahara's avatar Tomoyuki Sahara

IO.close should be IO._sysclose. closes #13.

parent 719452b8
...@@ -59,7 +59,7 @@ assert('IO.sysopen("/nonexistent")') do ...@@ -59,7 +59,7 @@ assert('IO.sysopen("/nonexistent")') do
end end
assert_raise eclass do assert_raise eclass do
fd = IO.sysopen "/nonexistent" fd = IO.sysopen "/nonexistent"
IO.close fd IO._sysclose fd
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment