]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-3215: Test length can vary
authorSimon Steiner <ssteiner@apache.org>
Tue, 29 Oct 2024 16:08:52 +0000 (16:08 +0000)
committerSimon Steiner <ssteiner@apache.org>
Tue, 29 Oct 2024 16:08:52 +0000 (16:08 +0000)
fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java

index 537d0216e87d4c9c0e678291b325ed1dfd978bdf..92905965aa525a2f0b44bd109970f5169a788c42 100644 (file)
@@ -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 {