Added one more test for too agressive minification of URLs (see #73).
authorGoalSmashers <jakub@goalsmashers.com>
Sat, 16 Mar 2013 15:46:02 +0000 (16:46 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Sat, 16 Mar 2013 15:46:02 +0000 (16:46 +0100)
test/unit-test.js

index 92f5453..e7fac14 100644 (file)
@@ -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({