each_slice enumerator methods fail
----------------------------------
Key: JRUBY-5275
URL: http://jira.codehaus.org/browse/JRUBY-5275
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6
Environment: Debian GNU/Linux 6.0 (squeeze), OpenJDK 6, Intel Core i5
Reporter: Nicholas Jefferson
require 'test/minirunit'
test_equal [0, 1], [0, 1, 2, 3].each_slice(2).first
test_equal [[0, 1], [2, 3]], [0, 1, 2, 3].each_slice(2).to_a
test_equal [[0, 1], [2, 3]], [0, 1, 2, 3].each_slice(2).map { |x0, x1| [x0, x1]
}
--
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