Skip to content

Commit

Permalink
fix BitsArray upper boundary validate bug, UT
Browse files Browse the repository at this point in the history
  • Loading branch information
mipengcheng committed Sep 26, 2024
1 parent 65ddba1 commit a707599
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public void testBitBoundaryOverflow() {
public void testByteBoundaryOverflow() {
BitsArray bitsArray = BitsArray.create(16);
assertThat(bitsArray.byteLength()).isEqualTo(2);
//will throw exception
bitsArray.getByte(2);
}
}

0 comments on commit a707599

Please sign in to comment.