Skip to content

Commit

Permalink
allow empty chunks (third attempt)
Browse files Browse the repository at this point in the history
related to 2445d1c, missed yet another test case
  • Loading branch information
overheadhunter committed Jan 11, 2025
1 parent 3924abc commit 940857f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class Encryption {

@DisplayName("encrypt chunk with invalid size")
@ParameterizedTest(name = "cleartext size: {0}")
@ValueSource(ints = {0, Constants.PAYLOAD_SIZE + 1})
@ValueSource(ints = {Constants.PAYLOAD_SIZE + 1})
public void testEncryptChunkOfInvalidSize(int size) {
ByteBuffer cleartext = ByteBuffer.allocate(size);

Expand Down

0 comments on commit 940857f

Please sign in to comment.