From 7a09a936518fda05bced7e1a026e96c2627584b4 Mon Sep 17 00:00:00 2001 From: Claudio Clemens Date: Mon, 8 Jan 2024 22:27:01 +0100 Subject: [PATCH] Surefire and Maven updates - Corrected Tests --- .../src/test/java/com/lowagie/text/pdf/FontSelectorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpdf/src/test/java/com/lowagie/text/pdf/FontSelectorTest.java b/openpdf/src/test/java/com/lowagie/text/pdf/FontSelectorTest.java index b9cf08b22..c4ed3ca5a 100644 --- a/openpdf/src/test/java/com/lowagie/text/pdf/FontSelectorTest.java +++ b/openpdf/src/test/java/com/lowagie/text/pdf/FontSelectorTest.java @@ -12,7 +12,7 @@ class FontSelectorTest { - public static final String STRING_TO_CHECK = "Χαίρετε Greek -"; + public static final String STRING_TO_CHECK = "Some Χαίρετε Greek -"; @Test void testDefaultFont() throws IOException { @@ -29,6 +29,6 @@ void testDefaultFont() throws IOException { PdfReader rd = new PdfReader(stream.toByteArray()); PdfTextExtractor pdfTextExtractor = new PdfTextExtractor(rd); - assertEquals(pdfTextExtractor.getTextFromPage(1), STRING_TO_CHECK); + assertEquals(STRING_TO_CHECK, pdfTextExtractor.getTextFromPage(1)); } } \ No newline at end of file