rajucomp commented on code in PR #1553:
URL: https://github.com/apache/commons-lang/pull/1553#discussion_r2659921092
##########
src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java:
##########
@@ -5442,6 +5443,11 @@ void testShuffleStringRandom() {
}
}
+ @Test
+ void testShuffleNull() {
+ assertDoesNotThrow(() -> ArrayUtils.shuffle((byte[]) null));
Review Comment:
That was just one case. The full test case would test for all array types
for null input. I have updated the test to cover all the cases.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]