ThrawnCA commented on code in PR #1523:
URL: https://github.com/apache/commons-lang/pull/1523#discussion_r2660078397
##########
src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java:
##########
@@ -815,4 +811,22 @@ void testRandomWithChars(final RandomStringUtils rsu) {
assertNotEquals(r1, r3);
assertNotEquals(r2, r3);
}
+
+ @Test
+ void testStartEndOutOfRangeWithChars_shouldThrow() {
+ final char[] chars = { 'a', 'b', 'c' };
+ final Random random = new Random();
+ IllegalArgumentException ex;
+
+ ex=assertThrows(IllegalArgumentException.class, () ->
Review Comment:
Missing spaces before and after operators.
--
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]