We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe5a58 commit 25b85c3Copy full SHA for 25b85c3
tests/PhpWordTests/Writer/RTF/Style/FontTest.php
@@ -18,8 +18,8 @@
18
19
namespace PhpOffice\PhpWordTests\Writer\RTF\Style;
20
21
-use PhpOffice\PhpWord\Settings;
22
use PhpOffice\PhpWord\Element\Text as TextElement;
+use PhpOffice\PhpWord\Settings;
23
use PhpOffice\PhpWord\Style\Font as FontStyle;
24
use PhpOffice\PhpWord\Style\Language;
25
use PhpOffice\PhpWord\Writer\RTF;
@@ -88,7 +88,7 @@ public function testFontColorRegistered(): void
88
$element->setText('Test');
89
$element->setFontStyle($style);
90
91
- $expect = '\f0\fs48\cf0\highlight0\cb0 ';
+ $expect = '\pard\nowidctlpar {\f1\fs48\cf1\highlight2\cb0 Test}\par\n';
92
self::assertEquals($expect, $this->removeCr($writer));
93
}
94
0 commit comments