From 921cbef6d8e3ff93992ecf787965f804ac647a51 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Fri, 5 Aug 2022 09:44:22 +0300 Subject: [PATCH] revert extra \n --- .../phpunit/class-wp-style-engine-css-declarations-test.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/style-engine/phpunit/class-wp-style-engine-css-declarations-test.php b/packages/style-engine/phpunit/class-wp-style-engine-css-declarations-test.php index 7e267b49b91242..bb6044f6db3bc2 100644 --- a/packages/style-engine/phpunit/class-wp-style-engine-css-declarations-test.php +++ b/packages/style-engine/phpunit/class-wp-style-engine-css-declarations-test.php @@ -120,8 +120,7 @@ public function test_generate_prettified_with_indent_css_declarations_string() { $this->assertSame( ' color: red; border-top-left-radius: 99px; - text-decoration: underline; -', + text-decoration: underline;', $css_declarations->get_declarations_string( true, 1 ) ); } @@ -140,8 +139,7 @@ public function test_generate_prettified_with_more_indents_css_declarations_stri $this->assertSame( ' color: red; border-top-left-radius: 99px; - text-decoration: underline; -', + text-decoration: underline;', $css_declarations->get_declarations_string( true, 2 ) ); }