Skip to content

Commit

Permalink
test round up for okhttp
Browse files Browse the repository at this point in the history
  • Loading branch information
panchenko committed Feb 8, 2025
1 parent 4f7a5e4 commit 0a3284e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public void testInitialCapacityHasMaximum() {

@Test
public void testIsExactBelowMaxCapacity() {
WritableBuffer buffer = allocator().allocate(4097);
WritableBuffer buffer = allocator().allocate(Segment.SIZE + 1);
assertEquals(0, buffer.readableBytes());
assertEquals(Segment.SIZE, buffer.writableBytes());
assertEquals(Segment.SIZE * 2, buffer.writableBytes());
}
}

0 comments on commit 0a3284e

Please sign in to comment.