Skip to content

Commit

Permalink
fix patch 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ggershinsky committed Jan 16, 2024
1 parent 9c90db8 commit 9ad9801
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ public void testRandomWriteRead() throws IOException {
}

encryptedStream.close();
Assert.assertEquals("Final position in closed stream", offset, encryptedStream.getPos());

AesGcmInputFile decryptedFile =
new AesGcmInputFile(Files.localInput(testFile), key, aadPrefix);
Expand Down Expand Up @@ -378,6 +379,7 @@ public void testAlignedWriteRead() throws IOException {
}

encryptedStream.close();
Assert.assertEquals("Final position in closed stream", offset, encryptedStream.getPos());

AesGcmInputFile decryptedFile =
new AesGcmInputFile(Files.localInput(testFile), key, aadPrefix);
Expand Down

0 comments on commit 9ad9801

Please sign in to comment.