commit 28a5cf650a9446b849a78379e223eac3e8057a9c Author: Joel Pittet Date: Sun Sep 8 13:15:50 2013 -0700 remove existing newline tests diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php index 1e72237..cde3ce8 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php @@ -145,7 +145,7 @@ protected function renderTests() { $expected[] = ' '; $expected[] = ''; $expected[] = ''; - $expected_output = implode("\n", $expected); + $expected_output = implode("", $expected); $this->assertEqual(drupal_render($output), $expected_output, 'The block rendered correctly.'); // Reset the HTML IDs so that the next render is not affected. @@ -172,7 +172,7 @@ protected function renderTests() { $expected[] = ' '; $expected[] = ''; $expected[] = ''; - $expected_output = implode("\n", $expected); + $expected_output = implode("", $expected); $this->assertEqual(drupal_render($output), $expected_output, 'The block rendered correctly.'); // Clean up this entity. $entity->delete(); diff --git a/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php b/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php index a633558..5aee3ea 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php @@ -54,7 +54,7 @@ function testAttributeMerging() { 'id' => 'bazinga', ), )); - $this->assertIdentical($output, '
' . "\n"); + $this->assertIdentical($output, '
'); } /**