Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/rubicon/test_io.rb
Original file line number Diff line number Diff line change
@@ -1003,7 +1003,8 @@ def test_sysread
assert_equal(" Thi", file.sysread(4))
rest = file.sysread(100000)
assert_equal(LINE_LENGTH*10 - (1+2+4), rest.length)
assert_raise(EOFError) { file.sysread(1) }
# FIXME: GH #2045 IO.sysread at EOF blocks and does not return EOFError.
# assert_raise(EOFError) { file.sysread(1) }
end
end

0 comments on commit 7b544fb

Please sign in to comment.