aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2024-10-29 16:08:52 +0000
committerSimon Steiner <ssteiner@apache.org>2024-10-29 16:08:52 +0000
commit3294f6046a6cd2f776f58eeeb773f323a7dceaa4 (patch)
treeff03a4eefe97daf77d188f8887a5ff70f8864d25
parent1e2c13561799a767f31a6ace90b619b665835f02 (diff)
downloadxmlgraphics-fop-3294f6046a6cd2f776f58eeeb773f323a7dceaa4.tar.gz
xmlgraphics-fop-3294f6046a6cd2f776f58eeeb773f323a7dceaa4.zip
FOP-3215: Test length can vary
-rw-r--r--fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java2
1 files changed, 1 insertions, 1 deletions
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 {