From: GoalSmashers Date: Wed, 20 Mar 2013 07:18:08 +0000 (+0100) Subject: Fixed spec duplication in tests. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1b9aca3e70fc91680971130c1eadf27ea41d42cc;p=clean-css.git Fixed spec duplication in tests. --- diff --git a/test/unit-test.js b/test/unit-test.js index 667c08ca..fc5fc3b7 100644 --- a/test/unit-test.js +++ b/test/unit-test.js @@ -486,10 +486,6 @@ vows.describe('clean-units').addBatch({ 'colors in ie filters 3': "a{progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDDDDD', endColorstr='#333333')}", 'hsla percents': 'a{color:hsla(1,0%,0%,.5)}', 'hsla custom ': 'a{color:hsl(80,30%,50%,.5)}', - 'hsl to hex #1': [ - 'a{color:hsl(360,100%,50%)}', - 'a{color:red}' - ], 'hsl to hex #1': [ 'a{color:hsl(0,0%,0%)}', 'a{color:#000}' @@ -514,6 +510,10 @@ vows.describe('clean-units').addBatch({ 'a{color:hsl(99,66%,33%)}', 'a{color:#438b1c}' ], + 'hsl to hex #7': [ + 'a{color:hsl(360,100%,50%)}', + 'a{color:red}' + ], 'hsla not to hex': 'a{color:hsl(99,66%,33%,.5)}' }), 'font weights': cssContext({