Array#fill spec failures
------------------------
Key: JRUBY-3148
URL: http://jira.codehaus.org/browse/JRUBY-3148
Project: JRuby
Issue Type: Bug
Components: RubySpec
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.6
{noformat}
[java] 1)
[java] Array#fill with (filler, index, length) raises an ArgumentError or
RangeError for too-large sizes FAILED
[java] Expected ArgumentError
[java] but got RangeError (integer 9223372036854775807 too big to convert
to `int')
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:222
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:76
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:54:in `load'
[java]
[java] 2)
[java] Array#fill with (filler, range) raise an exception if some of the
given range lies before the first of the array FAILED
[java] Expected RangeError ((?-mix:-5\.\.-3)) but got RangeError (-2..-3
out of range)
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:305
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:228
[java]
/Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_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