From e87effb29f23aa98538b49049d85259c718d77ae Mon Sep 17 00:00:00 2001 From: Matthias Mullie Date: Mon, 17 Dec 2018 16:23:25 +0100 Subject: [PATCH] Add test for #267 --- tests/css/CSSTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/css/CSSTest.php b/tests/css/CSSTest.php index 1dffeb5..60123a9 100644 --- a/tests/css/CSSTest.php +++ b/tests/css/CSSTest.php @@ -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; }