garydgregory commented on code in PR #1710:
URL: https://github.com/apache/commons-lang/pull/1710#discussion_r3420136243
##########
src/test/java/org/apache/commons/lang3/StringUtilsTest.java:
##########
@@ -2436,6 +2436,13 @@ void testSplitByWholeString_StringStringBoolean() {
for (int i = 0; i < splitWithMultipleSeparatorExpectedResults.length;
i++) {
assertEquals(splitWithMultipleSeparatorExpectedResults[i],
splitWithMultipleSeparator[i]);
}
+
+ // a trailing separator must not leak an empty token (it is dropped,
like leading and adjacent ones)
Review Comment:
Please add a new `@ParameterizedTest` method for these new assertions.
--
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]