[1.8.7] Failures on 1.8.7 HEAD test/ruby/test_array
---------------------------------------------------
Key: JRUBY-4181
URL: http://jira.codehaus.org/browse/JRUBY-4181
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, Ruby 1.8.7
Affects Versions: JRuby 1.4
Reporter: Charles Oliver Nutter
These prevent updating to the latest test_array. Obviously the callcc test
would have to be masked out. See MRI's ruby_1_8_7 branch for the current test.
It might be a good idea to just get these into rubyspec, since they're
obviously not being covered right now.
{noformat}
1) Failure:
test_combination(TestArray) [test/externals/ruby1.8/ruby/test_array.rb:1218]:
<[[1], [2], [3], [4]]> expected but was
<[1, 2, 3, 4]>.
2) Failure:
test_flatten_with_callcc(TestArray)
[test/externals/ruby1.8/ruby/test_array.rb:731]:
[ruby-dev:34798].
<Class: <LocalJumpError>
Message: <"continuations can not be called from outside their scope">
---Backtrace---
test/externals/ruby1.8/ruby/test_array.rb:729:in `call'
test/externals/ruby1.8/ruby/test_array.rb:729:in `test_flatten_with_callcc'
---------------> expected to be an instance of
<RuntimeError> but was
<LocalJumpError>.
3) Error:
test_product(TestArray):
NoMethodError: undefined method `product' for [1, 2, 3]:Array
test/externals/ruby1.8/ruby/test_array.rb:1226:in `test_product'
4) Error:
test_slice!(TestArray):
RangeError: -1..4 out of range
test/externals/ruby1.8/ruby/test_array.rb:1105:in `test_slice!'
{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