mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (open_key_args): set arg->io even if no options passed.
[ruby-dev:33072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f1c975b87a
commit
f761aacdd8
5 changed files with 20 additions and 12 deletions
|
@ -55,4 +55,10 @@ class TestIO < Test::Unit::TestCase
|
|||
ensure
|
||||
r.close
|
||||
end
|
||||
|
||||
def test_rubydev33072
|
||||
assert_raise(Errno::ENOENT, "[ruby-dev:33072]") do
|
||||
File.read("empty", nil, nil, {})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue