Skip to content

Commit 3a035ac

Browse files
committed
Fix PHPUnit
1 parent 5497187 commit 3a035ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/PhpWordTests/Escaper/RtfEscaper2Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testAccent(): void
6868
public function testHebrew(): void
6969
{
7070
$str = 'Hebrew - שלום';
71-
$expect = $this->expect('Hebrew - \\uc0\\u1513 \\uc0\\u1500 \\uc0\\u1493 \\uc0\\u1501 }');
71+
$expect = $this->expect('Hebrew - \\uc0\\u1513 \\uc0\\u1500 \\uc0\\u1493 \\uc0\\u1501 ');
7272
self::assertEquals($expect, $this->escapestring($str));
7373
}
7474

tests/PhpWordTests/Writer/RTF/StyleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function testRTL2(): void
136136
$parentWriter = new RTF();
137137
$element = new \PhpOffice\PhpWord\Element\Text('אב גד');
138138
$text = new RTF\Element\Text($parentWriter, $element);
139-
$expect = "\\pard\\nowidctlpar \\qr{\\rtlch\\cf0\\f0 \\uc0\\u1488 \\uc0\\u1489 \\uc0\\u1490 \\uc0\\u1491 }}\\par\n";
139+
$expect = "\\pard\\nowidctlpar \\qr{\\rtlch\\cf0\\f0 \\uc0\\u1488 \\uc0\\u1489 \\uc0\\u1490 \\uc0\\u1491 }\\par\n";
140140
self::assertEquals($expect, $this->removeCr($text));
141141
}
142142

0 commit comments

Comments
 (0)