Skip to content

Commit

Permalink
update tests for better inline style spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison-Stavlo committed Jun 25, 2020
1 parent 1987286 commit ba6a395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/class-block-supported-styles-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function test_custom_color_support() {
'innerHTML' => array(),
);

$expected_styles = 'test:style; color: #000;background-color: #fff;';
$expected_styles = 'test:style; color: #000; background-color: #fff;';
$expected_classes = 'wp-block-example foo-bar-class has-text-color has-background';

$this->assert_styles_and_classes_match( $block, $expected_classes, $expected_styles );
Expand Down Expand Up @@ -486,7 +486,7 @@ function test_all_supported() {
);

$expected_classes = 'wp-block-example foo-bar-class has-text-color has-background';
$expected_styles = 'test:style; color: #000;background-color: #fff;background: some-gradient;font-size: 10px;line-height: 20;';
$expected_styles = 'test:style; color: #000; background-color: #fff; background: some-gradient; font-size: 10px; line-height: 20;';

$this->assert_styles_and_classes_match( $block, $expected_classes, $expected_styles );
}
Expand Down

0 comments on commit ba6a395

Please sign in to comment.