From: GoalSmashers Date: Sat, 16 Mar 2013 15:46:02 +0000 (+0100) Subject: Added one more test for too agressive minification of URLs (see #73). X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8d6470a5fe52f24dbc0b644453578f542771e4bf;p=clean-css.git Added one more test for too agressive minification of URLs (see #73). --- diff --git a/test/unit-test.js b/test/unit-test.js index 92f54530..e7fac14f 100644 --- a/test/unit-test.js +++ b/test/unit-test.js @@ -531,6 +531,7 @@ vows.describe('clean-units').addBatch({ ], 'keep urls from being stripped down #1': 'a{background:url(/image-1.0.png)}', 'keep urls from being stripped down #2': "a{background:url(/image-white.png)}", + 'keep urls from being stripped down #3': "a{background:#eee url(libraries/jquery-ui-1.10.1.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x}", 'keep __URL__ in comments (so order is important)': '/*! __URL__ */a{}' }), 'fonts': cssContext({