sebx59 commented on a change in pull request #281:
URL: https://github.com/apache/commons-text/pull/281#discussion_r742605627



##########
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:
       The point here is that this assert is not passing anymore as hashcode of 
the buffer is not equals to the hashcode of the TextStringBuilder itself




-- 
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: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to