File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
tests/phpunit/tests/block-supports Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function test_border_color_slug_with_numbers_is_kebab_cased_properly() {
6464 $ actual = wp_apply_border_support ( $ block_type , $ block_atts );
6565 $ expected = array (
6666 'class ' => 'has-border-color has-red-border-color ' ,
67- 'style ' => 'border-radius: 10px; border-style: dashed; border-width: 1px; ' ,
67+ 'style ' => 'border-radius:10px;border-style:dashed;border-width:1px; ' ,
6868 );
6969
7070 $ this ->assertSame ( $ expected , $ actual );
@@ -154,7 +154,7 @@ function test_radius_with_individual_skipped_serialization_block_supports() {
154154
155155 $ actual = wp_apply_border_support ( $ block_type , $ block_atts );
156156 $ expected = array (
157- 'style ' => 'border-style: dotted; border-width: 1px; ' ,
157+ 'style ' => 'border-style:dotted;border-width:1px; ' ,
158158 );
159159
160160 $ this ->assertSame ( $ expected , $ actual );
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function test_color_slugs_with_numbers_are_kebab_cased_properly() {
6060 );
6161
6262 $ actual = wp_apply_colors_support ( $ block_type , $ block_atts );
63- $ expected = array ( 'class ' => 'has-text-color has-fg-1-color has-background has-bg-2-background-color has-background has- gr-3-gradient-background ' );
63+ $ expected = array ( 'class ' => 'has-text-color has-fg-1-color has-background has-bg-2-background-color has-gr-3-gradient-background ' );
6464
6565 $ this ->assertSame ( $ expected , $ actual );
6666 }
@@ -143,7 +143,7 @@ function test_gradient_with_individual_skipped_serialization_block_supports() {
143143 $ actual = wp_apply_colors_support ( $ block_type , $ block_atts );
144144 $ expected = array (
145145 'class ' => 'has-text-color ' ,
146- 'style ' => 'color: #d92828; ' ,
146+ 'style ' => 'color:#d92828; ' ,
147147 );
148148
149149 $ this ->assertSame ( $ expected , $ actual );
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function test_spacing_style_is_applied() {
6363
6464 $ actual = wp_apply_spacing_support ( $ block_type , $ block_atts );
6565 $ expected = array (
66- 'style ' => 'padding: 111px; margin-top: 1px; margin-right: 2px; margin-bottom: 3px; margin-left: 4px; ' ,
66+ 'style ' => 'padding:111px;margin-top:1px;margin-right:2px;margin-bottom:3px;margin-left:4px; ' ,
6767 );
6868
6969 $ this ->assertSame ( $ expected , $ actual );
@@ -159,7 +159,7 @@ function test_margin_with_individual_skipped_serialization_block_supports() {
159159
160160 $ actual = wp_apply_spacing_support ( $ block_type , $ block_atts );
161161 $ expected = array (
162- 'style ' => 'padding-top: 1px; padding-right: 2px; padding-bottom: 3px; padding-left: 4px; ' ,
162+ 'style ' => 'padding-top:1px;padding-right:2px;padding-bottom:3px;padding-left:4px; ' ,
163163 );
164164
165165 $ this ->assertSame ( $ expected , $ actual );
You can’t perform that action at this time.
0 commit comments