aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/ut_eof.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/ut_eof.rb')
-rw-r--r--test/ruby/ut_eof.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/ut_eof.rb b/test/ruby/ut_eof.rb
index ffd9ba65ab..efb9f77d83 100644
--- a/test/ruby/ut_eof.rb
+++ b/test/ruby/ut_eof.rb
@@ -64,7 +64,10 @@ module TestEOF
def test_eof_0_seek
open_file_seek("", 10) {|f|
+ assert_equal(10, f.pos)
+ assert_equal("", f.read(0))
assert_equal("", f.read)
+ assert_equal(nil, f.read(0))
assert_equal(nil, f.read)
}
end