mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
IO.close should be IO._sysclose. closes #13.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ assert('IO.sysopen("/nonexistent")') do
|
||||
end
|
||||
assert_raise eclass do
|
||||
fd = IO.sysopen "/nonexistent"
|
||||
IO.close fd
|
||||
IO._sysclose fd
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user