Skip to content

Commit 25b85c3

Browse files
authored
Update FontTest.php
1 parent ebe5a58 commit 25b85c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpWordTests/Writer/RTF/Style/FontTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
namespace PhpOffice\PhpWordTests\Writer\RTF\Style;
2020

21-
use PhpOffice\PhpWord\Settings;
2221
use PhpOffice\PhpWord\Element\Text as TextElement;
22+
use PhpOffice\PhpWord\Settings;
2323
use PhpOffice\PhpWord\Style\Font as FontStyle;
2424
use PhpOffice\PhpWord\Style\Language;
2525
use PhpOffice\PhpWord\Writer\RTF;
@@ -88,7 +88,7 @@ public function testFontColorRegistered(): void
8888
$element->setText('Test');
8989
$element->setFontStyle($style);
9090

91-
$expect = '\f0\fs48\cf0\highlight0\cb0 ';
91+
$expect = '\pard\nowidctlpar {\f1\fs48\cf1\highlight2\cb0 Test}\par\n';
9292
self::assertEquals($expect, $this->removeCr($writer));
9393
}
9494

0 commit comments

Comments
 (0)