Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 6ca6a1f

Browse files
committed
other PHP_EOL usage in tests
1 parent b084475 commit 6ca6a1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Helper/Navigation/LinksTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ public function testSingleRenderFlags()
637637
$this->_helper->setRenderFlag($newFlag);
638638
$expectedOutput = '<link '
639639
. 'rel="' . $type . '" '
640-
. 'href="http&#x3A;&#x2F;&#x2F;www.example.com&#x2F;">' . constant($this->_helperName.'::EOL')
640+
. 'href="http&#x3A;&#x2F;&#x2F;www.example.com&#x2F;">' . PHP_EOL
641641
. '<link '
642642
. 'rev="' . $type . '" '
643643
. 'href="http&#x3A;&#x2F;&#x2F;www.example.com&#x2F;">';
@@ -664,7 +664,7 @@ public function testRenderFlagBitwiseOr()
664664

665665
// test data
666666
$expected = '<link rel="next" href="page2" title="Page&#x20;2">'
667-
. constant($this->_helperName.'::EOL')
667+
. PHP_EOL
668668
. '<link rel="prev" href="page1" title="Page&#x20;1">';
669669
$actual = $this->_helper->render();
670670

@@ -682,7 +682,7 @@ public function testIndenting()
682682

683683
// build expected and actual result
684684
$expected = ' <link rel="next" href="page2" title="Page&#x20;2">'
685-
. constant($this->_helperName.'::EOL')
685+
. PHP_EOL
686686
. ' <link rel="prev" href="page1" title="Page&#x20;1">';
687687
$actual = $this->_helper->render();
688688

0 commit comments

Comments
 (0)