Fixed spec duplication in tests.
authorGoalSmashers <jakub@goalsmashers.com>
Wed, 20 Mar 2013 07:18:08 +0000 (08:18 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Wed, 20 Mar 2013 07:18:08 +0000 (08:18 +0100)
test/unit-test.js

index 667c08c..fc5fc3b 100644 (file)
@@ -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({