diff options
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 3381cda8db..ae26609a21 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -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 |