Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6RC1
-
Fix Version/s: JRuby 1.6RC1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Debian GNU/Linux 6.0 (squeeze), OpenJDK 6, Intel Core i5
-
Testcase included:yes
-
Number of attachments :
Description
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