garydgregory commented on code in PR #1808:
URL: https://github.com/apache/commons-lang/pull/1808#discussion_r4147678473


##########
src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java:
##########
@@ -746,6 +746,42 @@ void testRandomAscii(final RandomStringUtils rsu) {
         }
     }
 
+    /**
+     * The POSIX {@code [:graph:]} class runs up to and including {@code '~'} 
(0x7E), so {@link RandomStringUtils#nextGraph(int)} must be able to
+     * generate it. This test will fail randomly with negligible probability 
{@code (1 - (1 - (93/94)^10))^1000}.

Review Comment:
   @alhudz 
   Please review copilot's comment.



-- 
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]

Reply via email to