Skip to content

Commit

Permalink
Fix spaces in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed May 26, 2021
1 parent aef4a3b commit 189e9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function test_get_stylesheet_preset_classes_work_with_compounded_selectors() {
);

$this->assertEquals(
'h1.has-white-color, h2.has-white-color, h3.has-white-color, h4.has-white-color, h5.has-white-color, h6.has-white-color {color: #fff !important;}h1.has-white-background-color, h2.has-white-background-color, h3.has-white-background-color, h4.has-white-background-color, h5.has-white-background-color, h6.has-white-background-color {background-color: #fff !important;}h1.has-white-border-color, h2.has-white-border-color, h3.has-white-border-color, h4.has-white-border-color, h5.has-white-border-color, h6.has-white-border-color {border-color: #fff !important;}',
'h1.has-white-color,h2.has-white-color,h3.has-white-color,h4.has-white-color,h5.has-white-color,h6.has-white-color{color: #fff !important;}h1.has-white-background-color,h2.has-white-background-color,h3.has-white-background-color,h4.has-white-background-color,h5.has-white-background-color,h6.has-white-background-color{background-color: #fff !important;}h1.has-white-border-color,h2.has-white-border-color,h3.has-white-border-color,h4.has-white-border-color,h5.has-white-border-color,h6.has-white-border-color{border-color: #fff !important;}',
$theme_json->get_stylesheet( 'block_styles' )
);
}
Expand Down

0 comments on commit 189e9e2

Please sign in to comment.