Skip to content

Commit

Permalink
Assert array equals
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvodita committed Oct 5, 2023
1 parent f6b5aeb commit 2a6272a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void testAllocLargeSlice() {
ByteSlicePool slicePool = new ByteSlicePool(blockPool);

assertEquals(0, slicePool.newSlice(ByteBlockPool.BYTE_BLOCK_SIZE));
assertTrue(blockPool.buffer.equals(blockPool.getBuffer(0)));
assertArrayEquals(blockPool.buffer, blockPool.getBuffer(0));

blockPool.nextBuffer();
assertThrows(
Expand Down

0 comments on commit 2a6272a

Please sign in to comment.