sebx59 commented on a change in pull request #281:
URL: https://github.com/apache/commons-text/pull/281#discussion_r743528784
##########
File path: src/test/java/org/apache/commons/text/TextStringBuilderTest.java
##########
@@ -1057,15 +1057,24 @@ public void testHashCode() {
final TextStringBuilder sb = new TextStringBuilder();
final int hc1a = sb.hashCode();
final int hc1b = sb.hashCode();
- final int emptyHc = Arrays.hashCode(sb.getBuffer());
- assertEquals(emptyHc, hc1a);
Review comment:
you're right, I checkded that the 2 hashcodes are not equals
--
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]