Skip to content

Commit

Permalink
Merge pull request #18 from voku/analysis-qr0Yg8
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
voku committed Sep 29, 2015
2 parents a83980a + d1d4cb8 commit 5cfdd6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/CssToInlineStylesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,17 +597,17 @@ public function testBug99()

public function testCssRulesResetDuringSecondLoad()
{
$html = "<p></p>";
$html = '<p></p>';
$css = 'p { margin: 10px; }';
$expected = '<p style="margin: 10px;"></p>';
$this->runHTMLToCSS($html, $css, $expected);

$html = "<p></p>";
$html = '<p></p>';
$css = 'p { padding: 10px; margin: 10px; }';
$expected = '<p style="margin: 10px; padding: 10px;"></p>';
$this->runHTMLToCSS($html, $css, $expected);

$html = "<p></p>";
$html = '<p></p>';
$css = 'p { padding: 10px; }';
$expected = '<p style="padding: 10px;"></p>';
$this->runHTMLToCSS($html, $css, $expected);
Expand Down Expand Up @@ -647,7 +647,7 @@ public function testConstructor()

public function testCssRulesInlineResetDuringSecondLoad()
{
$html = "<p></p>";
$html = '<p></p>';
$css = 'p { margin: 10px; }';
$expected = '<p style="margin: 10px;"></p>';
$this->runHTMLToCSS($html, $css, $expected);
Expand Down

0 comments on commit 5cfdd6f

Please sign in to comment.