Skip to content

Commit

Permalink
FOP-3215: Test length can vary
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsteiner1984 committed Oct 29, 2024
1 parent 1e2c135 commit 3294f60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void testObjectStreamsWithEncryption() throws IOException {
PDFDocument doc = new PDFDocument("");
doc.setEncryption(new PDFEncryptionParams());
String out = buildObjectStreamsPDF(doc);
Assert.assertTrue(out.contains("<<\n /Type /ObjStm\n /N 3\n /First 16\n /Length 282\n>>\nstream"));
Assert.assertTrue(out.contains("<<\n /Type /ObjStm\n /N 3\n /First 16\n /Length"));
}

private String buildObjectStreamsPDF(PDFDocument doc) throws IOException {
Expand Down

0 comments on commit 3294f60

Please sign in to comment.