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.
testLoadFileBigTwicePreserveOption
1 parent 3d7ccad commit 786b28eCopy full SHA for 786b28e
tests/DomTest.php
@@ -192,9 +192,10 @@ public function testLoadFileBigTwicePreserveOption()
192
$dom = new Dom;
193
$dom->loadFromFile('tests/files/big.html', ['preserveLineBreaks' => true]);
194
$post = $dom->find('.post-row', 0);
195
- $this->assertEquals('<p>Журчанье воды<br />
196
-Черно-белые тени<br />
197
-Вновь на фонтане</p>', trim($post->find('.post-message', 0)->innerHtml));
+ $this->assertEquals(
+ "<p>Журчанье воды<br />\nЧерно-белые тени<br />\nВновь на фонтане</p>",
+ trim($post->find('.post-message', 0)->innerHtml)
198
+ );
199
}
200
201
public function testLoadFromUrl()
0 commit comments