From 940857f7fcac835ad597593c60de6c72e888f6b6 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Sat, 11 Jan 2025 10:37:45 +0100 Subject: [PATCH] allow empty chunks (third attempt) related to 2445d1c, missed yet another test case --- .../cryptomator/cryptolib/v2/FileContentCryptorImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/cryptomator/cryptolib/v2/FileContentCryptorImplTest.java b/src/test/java/org/cryptomator/cryptolib/v2/FileContentCryptorImplTest.java index 592481d..2d6ad09 100644 --- a/src/test/java/org/cryptomator/cryptolib/v2/FileContentCryptorImplTest.java +++ b/src/test/java/org/cryptomator/cryptolib/v2/FileContentCryptorImplTest.java @@ -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);