diff --git a/tests/phpunit/tests/style-engine/wpStyleEngineCssRule.php b/tests/phpunit/tests/style-engine/wpStyleEngineCssRule.php index 959f4092a9..debb09d8d1 100644 --- a/tests/phpunit/tests/style-engine/wpStyleEngineCssRule.php +++ b/tests/phpunit/tests/style-engine/wpStyleEngineCssRule.php @@ -156,6 +156,6 @@ class Tests_Style_Engine_wpStyleEngineCSSRule extends WP_UnitTestCase { font-family: Detective Sans; }'; - $this->assertSame( $expected, $css_rule->get_css( true ) ); + $this->assertSameIgnoreEOL( $expected, $css_rule->get_css( true ) ); } } diff --git a/tests/phpunit/tests/style-engine/wpStyleEngineProcessor.php b/tests/phpunit/tests/style-engine/wpStyleEngineProcessor.php index 05acdc6db5..46201dab14 100644 --- a/tests/phpunit/tests/style-engine/wpStyleEngineProcessor.php +++ b/tests/phpunit/tests/style-engine/wpStyleEngineProcessor.php @@ -92,7 +92,7 @@ class Tests_Style_Engine_wpStyleEngineProcessor extends WP_UnitTestCase { background-color: orange; } '; - $this->assertSame( + $this->assertSameIgnoreEOL( $expected, $a_wonderful_processor->get_css( array( 'prettify' => true ) ) );