Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.4, 2.4.5
-
None
-
Darwin Michas-MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Groovy Version: 2.4.5 JVM: 1.8.0_60 Vendor: Oracle Corporation OS: Mac OS X
Description
collate() on empty list shall return empty list instead of list containing one element (empty list).
Expected:
[].collate(n) == []
Actual:
[].collate(n) == [[]]
where n is int in (1..oo)
Attachments
Issue Links
- links to