Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0, 4.0.0, 5.x
-
None
Description
Integer[] array = [10, 5, 20] def result = array.shuffled() assert array !== result assert array.size() == result.size() assert array.every{ result.contains(it) } assert array == new Integer[] {10, 5, 20} // fails!