New IO#readpartial and IO#seek spec failures
--------------------------------------------
Key: JRUBY-3276
URL: http://jira.codehaus.org/browse/JRUBY-3276
Project: JRuby
Issue Type: Bug
Components: RubySpec
Reporter: Charles Oliver Nutter
A few new failures in readpartial and seek specs:
{noformat}
1)
IO#readpartial discards the existing buffer content upon successful read FAILED
Expected "existinghello world"
to equal "hello world"
spec/ruby/core/io/readpartial_spec.rb:55
spec/ruby/core/io/readpartial_spec.rb:4
spec/ruby/core/io/readpartial_spec.rb:54:in `load'
2)
IO#readpartial discards the existing buffer content upon error FAILED
Expected EOFError but no exception was raised
spec/ruby/core/io/readpartial_spec.rb:61
spec/ruby/core/io/readpartial_spec.rb:4
spec/ruby/core/io/readpartial_spec.rb:54:in `load'
3)
IO#readpartial raises IOError if the stream is closed FAILED
Expected IOError but no exception was raised
spec/ruby/core/io/readpartial_spec.rb:67
spec/ruby/core/io/readpartial_spec.rb:4
spec/ruby/core/io/readpartial_spec.rb:54:in `load'
4)
IO#seek moves the read position and clears EOF with SEEK_CUR FAILED
Expected 10
to equal nil
spec/ruby/core/io/seek_spec.rb:64
spec/ruby/core/io/seek_spec.rb:4
spec/ruby/core/io/seek_spec.rb:54:in `load'
5)
IO#seek moves the read position and clears EOF with SEEK_END FAILED
Expected 10
to equal nil
spec/ruby/core/io/seek_spec.rb:71
spec/ruby/core/io/seek_spec.rb:4
spec/ruby/core/io/seek_spec.rb:54:in `load'
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email