From 3294f6046a6cd2f776f58eeeb773f323a7dceaa4 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 29 Oct 2024 16:08:52 +0000 Subject: [PATCH] FOP-3215: Test length can vary --- .../test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java index 537d0216e..92905965a 100644 --- a/fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java +++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java @@ -46,7 +46,7 @@ public class PDFObjectStreamTestCase { 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 { -- 2.39.5