elharo commented on code in PR #1392:
URL: https://github.com/apache/commons-lang/pull/1392#discussion_r2358429287


##########
src/test/java/org/apache/commons/lang3/StringUtilsTest.java:
##########
@@ -3089,6 +3089,31 @@ void testTruncate_StringIntInt() {
         assertEquals("", StringUtils.truncate("abcdefghijklmno", 
Integer.MAX_VALUE, Integer.MAX_VALUE));
     }
 
+    @Test
+    void testTruncateToByteLength() {

Review Comment:
   Yes, you can reuse the test class, but this is about 10 different tests that 
should each be a separate method. 



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