Description
when RandomStringUtils.random encounters negative index it just keep running all the time(like meeting a dead loop?), hope to raise an exception
the test code is :
@Testpublic void testNegativeRange() {
int start = Integer.MIN_VALUE; int end = -10; // Generate a random character with negative range parameters String result = RandomStringUtils.random(1, start, end, false, false, null);
{color}}
Attachments
Issue Links
- links to