Skip to content

Commit

Permalink
Add test for #267
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasmullie committed Dec 17, 2018
1 parent d5acb8c commit e87effb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/css/CSSTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,12 @@ public function dataProvider()
'p{color:#ff0}',
);

// https://github.com/matthiasmullie/minify/issues/267
$tests[] = array(
'ul p { padding-left: calc((var(--icon-size) / 2) + var(--horisontal-space)); }',
'ul p{padding-left:calc((var(--icon-size) / 2) + var(--horisontal-space))}',
);

return $tests;
}

Expand Down

0 comments on commit e87effb

Please sign in to comment.