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.
1 parent 1339a9d commit e7e5f46Copy full SHA for e7e5f46
lib/Cake/Test/Case/Utility/StringTest.php
@@ -330,14 +330,12 @@ public function testWrap() {
330
$this->assertTextEquals($expected, $result, 'Text not wrapped.');
331
332
$result = String::wrap($text, array('width' => 20, 'wordWrap' => false));
333
- $expected = <<<TEXT
334
-This is the song th
335
-at never ends. This
336
- is the song that n
337
-ever ends. This is
338
-the song that never
339
- ends.
340
-TEXT;
+ $expected = 'This is the song th' . "\n" .
+ 'at never ends. This' . "\n" .
+ ' is the song that n' . "\n" .
+ 'ever ends. This is ' . "\n" .
+ 'the song that never' . "\n" .
+ ' ends.';
341
342
}
343
0 commit comments