Skip to content

Commit c7cb62c

Browse files
committed
Updated to ivopetkov/html5-dom-document-php v0.3.*
1 parent f111f6b commit c7cb62c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": ">=5.5.0",
14-
"ivopetkov/html5-dom-document-php": "0.2.*"
14+
"ivopetkov/html5-dom-document-php": "0.3.*"
1515
},
1616
"autoload": {
1717
"psr-4": {

tests/Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function testProccessHTML()
2222

2323
$compiler = new \IvoPetkov\HTMLServerComponentsCompiler();
2424
$result = $compiler->process('<component src="file:' . $fullFilename . '"/>');
25-
$expectedResult = '<!DOCTYPE html>' . "\n" . '<html><head><meta custom="value"></head><body>text1</body></html>';
25+
$expectedResult = '<!DOCTYPE html><html><head><meta custom="value"></head><body>text1</body></html>';
2626
$this->assertTrue($result === $expectedResult);
2727

2828
$compiler = new \IvoPetkov\HTMLServerComponentsCompiler();
@@ -31,7 +31,7 @@ public function testProccessHTML()
3131
. '<component src="file:' . $fullFilename . '"/>'
3232
. 'text2'
3333
. '</body></html>');
34-
$expectedResult = '<!DOCTYPE html>' . "\n" . '<html><head><meta custom="value"></head><body>'
34+
$expectedResult = '<!DOCTYPE html><html><head><meta custom="value"></head><body>'
3535
. 'text0'
3636
. 'text1'
3737
. 'text2'

0 commit comments

Comments
 (0)