Skip to content

Commit

Permalink
Fix whitespace errors in spacing support php tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Mar 28, 2022
1 parent 2d23711 commit aa0e91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/block-supports/spacing-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function test_spacing_style_is_applied() {

$actual = gutenberg_apply_spacing_support( $block_type, $block_atts );
$expected = array(
'style' => 'padding: 111px; margin-top: 1px; margin-right: 2px; margin-bottom: 3px; margin-left: 4px;',
'style' => 'padding:111px;margin-top:1px;margin-right:2px;margin-bottom:3px;margin-left:4px;',
);

$this->assertSame( $expected, $actual );
Expand Down Expand Up @@ -139,7 +139,7 @@ function test_margin_with_individual_skipped_serialization_block_supports() {

$actual = gutenberg_apply_spacing_support( $block_type, $block_atts );
$expected = array(
'style' => 'padding-top: 1px; padding-right: 2px; padding-bottom: 3px; padding-left: 4px;',
'style' => 'padding-top:1px;padding-right:2px;padding-bottom:3px;padding-left:4px;',
);

$this->assertSame( $expected, $actual );
Expand Down

0 comments on commit aa0e91d

Please sign in to comment.