From 457002bcb5abcbc1e897e952da74c373a91f24a5 Mon Sep 17 00:00:00 2001 From: Brian Huisman Date: Mon, 28 Aug 2023 10:52:18 -0400 Subject: [PATCH] Update FontTest.php Don't use HEREDOC syntax to compose the expected value for the testDecodeTextForFontWithIndirectEncodingWithoutTypeEncoding() test in FontTest.php. This should allow it to work regardless of the PHP file line-endings. --- tests/PHPUnit/Integration/FontTest.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/PHPUnit/Integration/FontTest.php b/tests/PHPUnit/Integration/FontTest.php index 20da62f8..105c9a60 100644 --- a/tests/PHPUnit/Integration/FontTest.php +++ b/tests/PHPUnit/Integration/FontTest.php @@ -359,14 +359,12 @@ public function testDecodeTextForFontWithIndirectEncodingWithoutTypeEncoding(): $pages = $document->getPages(); $page1 = reset($pages); $page1Text = $page1->getText(); - $expectedText = <<assertEquals($expectedText, trim($page1Text)); }