summaryrefslogtreecommitdiffstats
path: root/test/stringio
Commit message (Collapse)AuthorAgeFilesLines
* * ext/stringio/stringio.c (strio_init): rewind when reopened.mame2008-06-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/stringio/test_stringio.rb: add tests to achieve over 95% testmame2008-06-051-0/+314
| | | | | | | | | coverage of stringio. * test/strscan/test_stringscanner.rb: ditto for strscan. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for [ruby-dev:34591].akr2008-05-121-0/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use ML ref. for assertion message.akr2007-11-181-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu2004-11-291-0/+10
| | | | | | | being extended when overwriting. [ruby-core:03836] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.nobu2004-09-081-1/+1
| | | | | | | [ruby-dev:24190] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103],akr2004-09-071-0/+16
| | | | | | | | [ruby-dev:24190], [ruby-dev:24191], [ruby-dev:24194], [ruby-dev:24197], [ruby-dev:24202], [ruby-dev:24213], [ruby-dev:24223] and [ruby-dev:24228]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): adjust behavior at readingnobu2003-12-101-0/+2
| | | | | | | | | | | | | 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
* ditto.akr2003-12-091-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): follow IO#read.nobu2003-12-051-9/+8
| | | | | | | | * test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb, test/stringio/test_stringio.rb: add EOF test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/stringio/test_stringio.rb: imported from [ruby-dev:21941].nobu2003-11-181-0/+15
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e