Skip to content

Commit 3294f60

Browse files
FOP-3215: Test length can vary
1 parent 1e2c135 commit 3294f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fop-core/src/test/java/org/apache/fop/pdf/PDFObjectStreamTestCase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void testObjectStreamsWithEncryption() throws IOException {
4646
PDFDocument doc = new PDFDocument("");
4747
doc.setEncryption(new PDFEncryptionParams());
4848
String out = buildObjectStreamsPDF(doc);
49-
Assert.assertTrue(out.contains("<<\n /Type /ObjStm\n /N 3\n /First 16\n /Length 282\n>>\nstream"));
49+
Assert.assertTrue(out.contains("<<\n /Type /ObjStm\n /N 3\n /First 16\n /Length"));
5050
}
5151

5252
private String buildObjectStreamsPDF(PDFDocument doc) throws IOException {

0 commit comments

Comments
 (0)