From 9720c588992ee143f66ac6de3adbc9188be256d7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 10 Dec 2003 08:16:14 +0000 Subject: * ext/stringio/stringio.c (strio_read): adjust behavior at reading beyond EOF to IO. [ruby-dev:22205] * test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading beyond EOF. * test/ruby/test_file.rb, * test/stringio/test_stringio.rb: include TestEOF::Seek test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/stringio/test_stringio.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/stringio') diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb index e16bd0e37..a62fa491b 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -12,4 +12,6 @@ class TestStringIO < Test::Unit::TestCase yield f end alias open_file_rw open_file + + include TestEOF::Seek end -- cgit