Author: tilman
Date: Mon Sep 8 10:35:09 2025
New Revision: 1928286
Log:
PDFBOX-6064: adjust test
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdfparser/PDFStreamParserTest.java
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdfparser/PDFStreamParserTest.java
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdfparser/PDFStreamParserTest.java
Mon Sep 8 10:35:05 2025 (r1928285)
+++
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdfparser/PDFStreamParserTest.java
Mon Sep 8 10:35:09 2025 (r1928286)
@@ -100,7 +100,7 @@ class PDFStreamParserTest
{
IOException ex =
assertThrows(IOException.class, () ->
testInlineImage2ops("BI/IB/IB BI/ BI", "", ""));
- assertEquals("Nested '" + OperatorName.BEGIN_INLINE_IMAGE + "'
operator not allowed", ex.getMessage());
+ assertEquals("Nested '" + OperatorName.BEGIN_INLINE_IMAGE + "'
operator not allowed at offset 11, first: 2", ex.getMessage());
}
// checks whether there are two operators, one inline image and the named
operator