See #809 - adds a test case to avoid future regressions.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 19 Dec 2016 06:43:07 +0000 (07:43 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 19 Dec 2016 06:43:07 +0000 (07:43 +0100)
test/optimizer/basic-test.js

index c6b7d13..e20aef8 100644 (file)
@@ -784,6 +784,10 @@ vows.describe('simple optimizations')
       'tab inside property': [
         'a{border:2px\tsolid}',
         'a{border:2px solid}'
+      ],
+      'line breaks and special comments inside a rule': [
+        'a{\ncolor:red;\n/*!*/\n\n\n\n\n\n\n/*!*/\n}',
+        'a{color:red/*!*//*!*/}'
       ]
     }, { advanced: false })
   )