Skip to content

Commit

Permalink
PDFBOX-5660: adjust test to improved exception message
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923208 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Jan 18, 2025
1 parent 6224db4 commit 989612e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ void testSurrogatePairCharacterExceptionIsBmpCodePoint() throws IOException
}
catch (IllegalStateException e)
{
assertEquals("could not find the glyphId for the character: あ", e.getMessage());
assertEquals("could not find the glyphId for the character: あ, codePoint: 12354 (0x3042)", e.getMessage());
return;
}

Expand Down Expand Up @@ -685,7 +685,7 @@ void testSurrogatePairCharacterExceptionIsValidCodePoint() throws IOException
}
catch (IllegalStateException e)
{
assertEquals("could not find the glyphId for the character: 𩸽", e.getMessage());
assertEquals("could not find the glyphId for the character: 𩸽, codePoint: 171581 (0x29E3D)", e.getMessage());
return;
}

Expand Down

0 comments on commit 989612e

Please sign in to comment.