From 169e6183577a30c6981167452c771f4abc680ddd Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Fri, 12 Apr 2019 14:58:20 -0700 Subject: [PATCH] tests: Remove newlines from tests to make pass(?!) Change-Id: Ib7f4252e4b399edcd5845aa31c60df494a8d8c3e --- tests/phpunit/TemplateStylesHooksTest.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/phpunit/TemplateStylesHooksTest.php b/tests/phpunit/TemplateStylesHooksTest.php index 0be281d..f50d442 100644 --- a/tests/phpunit/TemplateStylesHooksTest.php +++ b/tests/phpunit/TemplateStylesHooksTest.php @@ -291,7 +291,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { $popt, [], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "
\n
", + "
", // @codingStandardsIgnoreEnd ], 'Disabled' => [ @@ -304,28 +304,28 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { $popt, [], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "
\n
", + "
", // @codingStandardsIgnoreEnd ], 'Hoistable selectors are hoisted' => [ $popt, [], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "
\n
", + "
", // @codingStandardsIgnoreEnd ], 'Still prefixed despite no wrapping class' => [ $popt2, [ 'unwrap' => true ], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "\n", + "", // @codingStandardsIgnoreEnd ], 'Still prefixed despite deprecated no wrapping class' => [ $popt3, [], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "\n", + "", // @codingStandardsIgnoreEnd ], 'Deduplicated tags' => [ @@ -343,8 +343,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { - - + ' ), // @codingStandardsIgnoreEnd ], @@ -352,7 +351,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { $popt2, [], '', // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong - "
\n
", + "
", // @codingStandardsIgnoreEnd ], 'Invalid wrapper parameter' => [ @@ -384,8 +383,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { - - + ' ), // @codingStandardsIgnoreEnd ],