From: Jakub Pawlowicz Date: Fri, 23 Dec 2016 21:00:43 +0000 (+0100) Subject: See #808 - adds a test case to prevent regressions. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f2835d46b32336a37254e4cd6841f812ba323e68;p=clean-css.git See #808 - adds a test case to prevent regressions. --- diff --git a/test/optimizer/advanced-test.js b/test/optimizer/advanced-test.js index 33c842ff..01cdbb09 100644 --- a/test/optimizer/advanced-test.js +++ b/test/optimizer/advanced-test.js @@ -11,6 +11,10 @@ vows.describe('advanced optimizer') 'overriding by !important': [ 'a{margin:0}a{margin:0!important}', 'a{margin:0!important}' + ], + 'shorthands and no space after closing brace': [ + '.a{background:rgba(0,0,0,0)url(//example.com/a.jpg)}', + '.a{background:url(//example.com/a.jpg) rgba(0,0,0,0)}' ] }, { advanced: true }) )